Skip to content

Commit 8730d80

Browse files
committed
docs corrected
1 parent dbbe5a5 commit 8730d80

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

pydatastructs/linear_data_structures/algorithms.py

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -798,20 +798,19 @@ def is_ordered(array, **kwargs):
798798
799799
array: Array
800800
The array which is to be checked for having
801-
specified ordered among its elements.
801+
specified ordering among its elements.
802802
start: int
803-
The starting index of the portion
804-
which is to be sorted.
803+
The starting index of the portion of the array
804+
under consideration.
805805
Optional, by default 0
806806
end: int
807-
The ending index of the portion which
808-
is to be sorted.
807+
The ending index of the portion of the array
808+
under consideration.
809809
Optional, by default the index
810810
of the last position filled.
811811
comp: lambda/function
812812
The comparator which is to be used
813-
for sorting. If the function returns
814-
False then only swapping is performed.
813+
for specifying the desired ordering.
815814
Optional, by default, less than or
816815
equal to is used for comparing two
817816
values.

0 commit comments

Comments
 (0)