Skip to content
Snippets Groups Projects
Commit 778fc4bb authored by Fabian Pedregosa's avatar Fabian Pedregosa
Browse files

FIX: docstring.

numpy 1.3 already had numpy.unique.
parent 148c5ef6
No related branches found
No related tags found
No related merge requests found
......@@ -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()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment