Skip to content

Commit d33e88c

Browse files
DOC: Fix a typo in example code in README.md.
1 parent eb403c2 commit d33e88c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -745,7 +745,7 @@ the result of the ``timeit`` call is 0.6 seconds.
745745
```
746746
>>> from timeit import timeit
747747
>>> x = np.ones(100000)
748-
>>> x[-] = 0
748+
>>> x[-1] = 0
749749
>>> first(x, op.LT, 1.0, np.nan)
750750
0.0
751751
>>> timeit('first(x, op.LT, 1.0, np.nan)', number=20000, globals=globals())

0 commit comments

Comments
 (0)