Skip to content

Commit

Permalink
Sync docstring and definition default argument in kneighbors (#7476)
Browse files Browse the repository at this point in the history
  • Loading branch information
hnykda authored and lesteve committed Sep 23, 2016
1 parent c9f42b6 commit 85f2900
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sklearn/neighbors/approximate.py
Expand Up @@ -411,7 +411,7 @@ def kneighbors(self, X, n_neighbors=None, return_distance=True):
Number of neighbors required. If not provided, this will
return the number specified at the initialization.
return_distance : boolean, optional (default = False)
return_distance : boolean, optional (default = True)
Returns the distances of neighbors if set to True.
Returns
Expand Down

0 comments on commit 85f2900

Please sign in to comment.