summaryrefslogtreecommitdiff
path: root/numpy/f2py/crackfortran.py
diff options
context:
space:
mode:
authorluz.paz <luzpaz@users.noreply.github.com>2018-03-30 09:33:39 -0400
committerluz.paz <luzpaz@users.noreply.github.com>2018-03-30 09:33:39 -0400
commit108d01a0a4eea38ed5b8e88de34ee2d0324fec65 (patch)
treec8ea966bbb29aec9588e712cd8c7230d63ac89e0 /numpy/f2py/crackfortran.py
parentf879b158ab59e77fec9ecbb6b5fb988ba95afc4f (diff)
downloadnumpy-108d01a0a4eea38ed5b8e88de34ee2d0324fec65.tar.gz
DOC: Fix minor typos
Found via `codespell -q 3 -I ../numpy-whitelist.txt`
Diffstat (limited to 'numpy/f2py/crackfortran.py')
-rwxr-xr-xnumpy/f2py/crackfortran.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/f2py/crackfortran.py b/numpy/f2py/crackfortran.py
index dc560f98e..19ce8c145 100755
--- a/numpy/f2py/crackfortran.py
+++ b/numpy/f2py/crackfortran.py
@@ -612,7 +612,7 @@ multilinepattern = re.compile(
def split_by_unquoted(line, characters):
"""
Splits the line into (line[:i], line[i:]),
- where i is the index of first occurence of one of the characters
+ where i is the index of first occurrence of one of the characters
not within quotes, or len(line) if no such index exists
"""
assert not (set('"\'') & set(characters)), "cannot split by unquoted quotes"