diff options
author | cookedm <cookedm@localhost> | 2006-03-10 21:31:27 +0000 |
---|---|---|
committer | cookedm <cookedm@localhost> | 2006-03-10 21:31:27 +0000 |
commit | bf57380caa818b73a4c41409de6ff260425f9bb6 (patch) | |
tree | b2c42e0fde172de5def0c91811845808c00e296e /numpy/lib/convertcode.py | |
parent | f2db317c1fad63f1c85944ba8443b465e32774dc (diff) | |
download | numpy-bf57380caa818b73a4c41409de6ff260425f9bb6.tar.gz |
Run reindent.py (script distributed with Python) over the source to remove extraneous whitespace
Diffstat (limited to 'numpy/lib/convertcode.py')
-rw-r--r-- | numpy/lib/convertcode.py | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/numpy/lib/convertcode.py b/numpy/lib/convertcode.py index 0c5a0833b..38504d5a2 100644 --- a/numpy/lib/convertcode.py +++ b/numpy/lib/convertcode.py @@ -15,7 +15,7 @@ # * Eliminates savespace=xxx # * Replace xxx.spacesaver() with True # * Convert xx.savespace(?) to pass + ## xx.savespace(?) -# #### -- not * Convert a.shape = ? to a.reshape(?) +# #### -- not * Convert a.shape = ? to a.reshape(?) # * Prints warning for use of bool, int, float, copmlex, object, and unicode # @@ -128,14 +128,14 @@ def getandcopy(name): def convertfile(filename): """Convert the filename given from using Numeric to using NumPy - + Copies the file to filename.orig and then over-writes the file with the updated code """ filestr = getandcopy(filename) filestr = fromstr(filestr) makenewfile(filename, filestr) - + def fromargs(args): filename = args[1] convertfile(filename) @@ -153,6 +153,3 @@ def convertall(direc=os.path.curdir): if __name__ == '__main__': fromargs(sys.argv) - - - |