summaryrefslogtreecommitdiff
path: root/utils.py
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2007-12-16 05:30:41 +0000
committerTravis Oliphant <oliphant@enthought.com>2007-12-16 05:30:41 +0000
commit25c161b20770bd9c00c106f21019d2593953dbfd (patch)
tree9bf29617b88aaeb298b9f987c2ee17c037fe3814 /utils.py
parent22fbdc5c744674550be074550862645ddf423b31 (diff)
downloadnumpy-25c161b20770bd9c00c106f21019d2593953dbfd.tar.gz
Changes to io layer of NumPy
Diffstat (limited to 'utils.py')
-rw-r--r--utils.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils.py b/utils.py
index ab5220c01..19a10f518 100644
--- a/utils.py
+++ b/utils.py
@@ -106,6 +106,7 @@ def deprecate(func, oldname=None, newname=None):
def newfunc(*args,**kwds):
warnings.warn(str1, DeprecationWarning)
return func(*args, **kwds)
+
newfunc = _set_function_name(newfunc, oldname)
doc = func.__doc__
if doc is None: