projects
/
python_utils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Various
[python_utils.git]
/
list_utils.py
diff --git
a/list_utils.py
b/list_utils.py
index 9a5d4fde0dcad7936a16ffc6f53a7a50ba0b67fa..74f1cf3078457d371194deb33ddf5ad6410ed599 100644
(file)
--- a/
list_utils.py
+++ b/
list_utils.py
@@
-15,7
+15,6
@@
def flatten(lst: List[Any]) -> List[Any]:
>>> flatten([ 1, [2, 3, 4, [5], 6], 7, [8, [9]]])
[1, 2, 3, 4, 5, 6, 7, 8, 9]
-
"""
if len(lst) == 0:
return lst