summaryrefslogtreecommitdiff
path: root/numpy/lib/function_base.py
diff options
context:
space:
mode:
authorStefan van der Walt <stefan@sun.ac.za>2009-10-25 09:01:06 +0000
committerStefan van der Walt <stefan@sun.ac.za>2009-10-25 09:01:06 +0000
commit55d07fbe7b06ebe34511d53c4cabab8c9476d0ff (patch)
treee47d329d61b283835919218ee87d1e247f119564 /numpy/lib/function_base.py
parentbbab7a4c2d7b7f5a12c2326ffeb99acd87bbb52e (diff)
downloadnumpy-55d07fbe7b06ebe34511d53c4cabab8c9476d0ff.tar.gz
Merge deprecate_with_doc into deprecate(message="...").
Diffstat (limited to 'numpy/lib/function_base.py')
-rw-r--r--numpy/lib/function_base.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/lib/function_base.py b/numpy/lib/function_base.py
index 755229417..76ea08dfb 100644
--- a/numpy/lib/function_base.py
+++ b/numpy/lib/function_base.py
@@ -28,7 +28,7 @@ from numpy.lib.twodim_base import diag
from _compiled_base import _insert, add_docstring
from _compiled_base import digitize, bincount, interp as compiled_interp
from arraysetops import setdiff1d
-from utils import deprecate_with_doc
+from utils import deprecate
import numpy as np
#end Fernando's utilities
@@ -1226,7 +1226,7 @@ import sys
if sys.hexversion < 0x2040000:
from sets import Set as set
-@deprecate_with_doc('')
+@deprecate
def unique(x):
"""
This function is deprecated. Use numpy.lib.arraysetops.unique()