From 778fc4bb7a1b9b8fdecd712c8caf830fdab2968a Mon Sep 17 00:00:00 2001 From: Fabian Pedregosa <fabian.pedregosa@inria.fr> Date: Thu, 16 Dec 2010 20:42:22 +0100 Subject: [PATCH] FIX: docstring. numpy 1.3 already had numpy.unique. --- scikits/learn/utils/fixes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scikits/learn/utils/fixes.py b/scikits/learn/utils/fixes.py index 9937b3e60c..a3e3d66ccb 100644 --- a/scikits/learn/utils/fixes.py +++ b/scikits/learn/utils/fixes.py @@ -9,7 +9,7 @@ Fixes for older version of numpy and scipy. import numpy as np def _unique(ar, return_index=False, return_inverse=False): - """ A replacement for np.unique that appeared in numpy 1.4. + """ A replacement for np.unique that appeared in numpy 1.3 """ try: ar = ar.flatten() -- GitLab