File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed
pydatastructs/linear_data_structures Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -798,20 +798,19 @@ def is_ordered(array, **kwargs):
798
798
799
799
array: Array
800
800
The array which is to be checked for having
801
- specified ordered among its elements.
801
+ specified ordering among its elements.
802
802
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 .
805
805
Optional, by default 0
806
806
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 .
809
809
Optional, by default the index
810
810
of the last position filled.
811
811
comp: lambda/function
812
812
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.
815
814
Optional, by default, less than or
816
815
equal to is used for comparing two
817
816
values.
You can’t perform that action at this time.
0 commit comments