Skip to content

Commit e292ed9

Browse files
committed
Updated document docstring
1 parent 39124ae commit e292ed9

File tree

1 file changed

+2
-2
lines changed
  • pydatastructs/linear_data_structures

1 file changed

+2
-2
lines changed

pydatastructs/linear_data_structures/arrays.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -515,14 +515,14 @@ class OneDimensionalImplicitArray(ImplicitArray):
515515
Note
516516
====
517517
518-
At least one parameter should be passed as an argument along
518+
At least two parameters should be passed as an argument along
519519
with the dtype.
520520
521521
Examples
522522
========
523523
524524
>>> from pydatastructs import OneDimensionalImplicitArray
525-
>>> arr = OneDimensionalImplicitArray(lambda i: i+1, int, 5)
525+
>>> arr = OneDimensionalImplicitArray(int, lambda i: i+1, 5)
526526
>>> arr[0]
527527
6
528528
>>> arr[1]

0 commit comments

Comments
 (0)