From 108d01a0a4eea38ed5b8e88de34ee2d0324fec65 Mon Sep 17 00:00:00 2001 From: "luz.paz" Date: Fri, 30 Mar 2018 09:33:39 -0400 Subject: DOC: Fix minor typos Found via `codespell -q 3 -I ../numpy-whitelist.txt` --- numpy/f2py/crackfortran.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'numpy/f2py/crackfortran.py') 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" -- cgit v1.2.1