diff options
author | Tim Leslie <tim.leslie@gmail.com> | 2006-03-23 02:13:46 +0000 |
---|---|---|
committer | Tim Leslie <tim.leslie@gmail.com> | 2006-03-23 02:13:46 +0000 |
commit | 4867af4f63044bbc487c8510b990dfa65c9531e0 (patch) | |
tree | 506e352c99612e96f65021c6fb510af2a027412a /numpy/lib/convertcode.py | |
parent | 56ae0d3d843e2e6f8548cde972c2b84446e84071 (diff) | |
download | numpy-4867af4f63044bbc487c8510b990dfa65c9531e0.tar.gz |
change header comments into docstrings
Diffstat (limited to 'numpy/lib/convertcode.py')
-rw-r--r-- | numpy/lib/convertcode.py | 41 |
1 files changed, 20 insertions, 21 deletions
diff --git a/numpy/lib/convertcode.py b/numpy/lib/convertcode.py index 8587993c4..1db3ecc85 100644 --- a/numpy/lib/convertcode.py +++ b/numpy/lib/convertcode.py @@ -1,24 +1,23 @@ - -# This module converts code written for Numeric to run with numpy - -# Makes the following changes: -# * Converts typecharacters -# * Changes import statements (warns of use of from Numeric import *) -# * Changes import statements (using numerix) ... -# * Makes search and replace changes to: -# - .typecode() -# - .iscontiguous() -# - .byteswapped() -# - .itemsize() -# * Converts .flat to .ravel() except for .flat = xxx or .flat[xxx] -# * Change typecode= to dtype= -# * Eliminates savespace=xxx -# * Replace xxx.spacesaver() with True -# * Convert xx.savespace(?) to pass + ## xx.savespace(?) -# #### -- not * Convert a.shape = ? to a.reshape(?) -# * Prints warning for use of bool, int, float, copmlex, object, and unicode -# - +""" +This module converts code written for Numeric to run with numpy + +Makes the following changes: + * Converts typecharacters + * Changes import statements (warns of use of from Numeric import *) + * Changes import statements (using numerix) ... + * Makes search and replace changes to: + - .typecode() + - .iscontiguous() + - .byteswapped() + - .itemsize() + * Converts .flat to .ravel() except for .flat = xxx or .flat[xxx] + * Change typecode= to dtype= + * Eliminates savespace=xxx + * Replace xxx.spacesaver() with True + * Convert xx.savespace(?) to pass + ## xx.savespace(?) + #### -- not * Convert a.shape = ? to a.reshape(?) + * Prints warning for use of bool, int, float, copmlex, object, and unicode +""" __all__ = ['fromfile', 'fromstr'] import sys |