Skip to content

Commit 10ca3c0

Browse files
committed
DOC: fix unique_all extra whitespace in doctest
[skip actions][skip azp][skip cirrus]
1 parent 3eca7a6 commit 10ca3c0

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

numpy/lib/_arraysetops_impl.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -435,12 +435,11 @@ def unique_all(x):
435435
436436
Examples
437437
--------
438-
>>> np.unique_all([1, 1, 2]) # doctest: +NORMALIZE_WHITESPACE
439-
UniqueAllResult(
440-
values=array([1, 2]),
441-
indices=array([0, 2]),
442-
inverse_indices=array([0, 0, 1]),
443-
counts=array([2, 1]))
438+
>>> np.unique_all([1, 1, 2])
439+
UniqueAllResult(values=array([1, 2]),
440+
indices=array([0, 2]),
441+
inverse_indices=array([0, 0, 1]),
442+
counts=array([2, 1]))
444443
445444
"""
446445
result = unique(

0 commit comments

Comments
 (0)