mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-05 01:09:40 +08:00
refactor: Indent ... for visual purposes (#7744)
This commit is contained in:

committed by
GitHub

parent
e8915097c4
commit
9bba42eca8
@ -101,7 +101,7 @@ def __assert_sorted(collection):
|
||||
True
|
||||
>>> __assert_sorted([10, -1, 5])
|
||||
Traceback (most recent call last):
|
||||
...
|
||||
...
|
||||
ValueError: Collection must be ascending sorted
|
||||
"""
|
||||
if collection != sorted(collection):
|
||||
|
Reference in New Issue
Block a user