From 55d07fbe7b06ebe34511d53c4cabab8c9476d0ff Mon Sep 17 00:00:00 2001 From: Stefan van der Walt Date: Sun, 25 Oct 2009 09:01:06 +0000 Subject: Merge deprecate_with_doc into deprecate(message="..."). --- numpy/lib/function_base.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'numpy/lib/function_base.py') 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() -- cgit v1.2.1