diff options
Diffstat (limited to 'numpy/oldnumeric/fix_default_axis.py')
-rw-r--r-- | numpy/oldnumeric/fix_default_axis.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/oldnumeric/fix_default_axis.py b/numpy/oldnumeric/fix_default_axis.py index 57ab3ce78..5f6128724 100644 --- a/numpy/oldnumeric/fix_default_axis.py +++ b/numpy/oldnumeric/fix_default_axis.py @@ -185,7 +185,7 @@ def _import_change(fstr, names): ind = 0 importstr = "from numpy import" N = len(importstr) - while 1: + while True: ind = fstr.find(importstr, ind) if (ind < 0): break |