summaryrefslogtreecommitdiff
path: root/numpy/oldnumeric/fix_default_axis.py
diff options
context:
space:
mode:
authorStefan van der Walt <stefan@sun.ac.za>2007-01-08 21:56:54 +0000
committerStefan van der Walt <stefan@sun.ac.za>2007-01-08 21:56:54 +0000
commit1bd2d49ef378fb869d015cef32c3e44a4c03a8f0 (patch)
tree43335baf1da0b6e9de0ad806e721a077e3cbfa45 /numpy/oldnumeric/fix_default_axis.py
parent98b6d48b07f4eadfb7d1fc41483debe7e07eecd6 (diff)
downloadnumpy-1bd2d49ef378fb869d015cef32c3e44a4c03a8f0.tar.gz
Whitespace cleanup.
Diffstat (limited to 'numpy/oldnumeric/fix_default_axis.py')
-rw-r--r--numpy/oldnumeric/fix_default_axis.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/numpy/oldnumeric/fix_default_axis.py b/numpy/oldnumeric/fix_default_axis.py
index 15054b50c..8483de85e 100644
--- a/numpy/oldnumeric/fix_default_axis.py
+++ b/numpy/oldnumeric/fix_default_axis.py
@@ -52,7 +52,7 @@ _all = _func0 + _funcm1
func_re = {}
for name in _all:
- _astr = r"""%s\s*[(]"""%name
+ _astr = r"""%s\s*[(]"""%name
func_re[name] = re.compile(_astr)
@@ -142,7 +142,7 @@ def _import_change(fstr, names):
fstr = "%s%s%s" % (fstr[:ind], "import numpy.oldnumeric as numpy",
fstr[ind+len(importstr):])
num += 1
-
+
# case 2
importre = re.compile("""import numpy as ([A-Za-z0-9_]+)""")
modules = importre.findall(fstr)
@@ -230,7 +230,7 @@ def add_axis(fstr, import_change=False):
return fstr, total
else:
fstr, num = _import_change(fstr, _funcm1+_func0)
- return fstr, num
+ return fstr, num
def makenewfile(name, filestr):