summaryrefslogtreecommitdiff
path: root/numpy/distutils/command/build_src.py
diff options
context:
space:
mode:
authorDongjoon Hyun <dongjoon@apache.org>2016-02-21 11:33:41 -0800
committerDongjoon Hyun <dongjoon@apache.org>2016-02-25 11:37:32 -0800
commit2556b9ff1ae621e311053bd5f2b34edb86a8cb68 (patch)
treeee25cd0a9f3d40a4292b342ce664f1c417d0deb2 /numpy/distutils/command/build_src.py
parent89d95a0660ffd5890916edb78a6d4a9ccb5b3ad0 (diff)
downloadnumpy-2556b9ff1ae621e311053bd5f2b34edb86a8cb68.tar.gz
DOC: Fix more typos in docs and comments.
Diffstat (limited to 'numpy/distutils/command/build_src.py')
-rw-r--r--numpy/distutils/command/build_src.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/distutils/command/build_src.py b/numpy/distutils/command/build_src.py
index 2efcdea60..edb37b8ed 100644
--- a/numpy/distutils/command/build_src.py
+++ b/numpy/distutils/command/build_src.py
@@ -24,7 +24,7 @@ from numpy.distutils.from_template import process_file as process_f_file
from numpy.distutils.conv_template import process_file as process_c_file
def subst_vars(target, source, d):
- """Substitute any occurence of @foo@ by d['foo'] from source file into
+ """Substitute any occurrence of @foo@ by d['foo'] from source file into
target."""
var = re.compile('@([a-zA-Z_]+)@')
fs = open(source, 'r')