Update docs.

This commit is contained in:
Sami Kalliomäki 2022-11-16 10:34:38 +00:00
parent ee14cbd3d9
commit faeeaa2a7a
2 changed files with 2 additions and 2 deletions

View File

@ -81,7 +81,7 @@ A new list with all unique elements from `iterable`.
collections.flatten(<a href="#collections.flatten-iterable">iterable</a>)
</pre>
Flattens an iterable to the sum of those iterables.
Flattens an iterable to the sum of the elements with a starting value of [].
This behaves like collapsing the first dimension of the iterable.

View File

@ -66,7 +66,7 @@ def _uniq(iterable):
return list(unique_elements.keys())
def _flatten(iterable):
"""Flattens an iterable to the sum of those iterables.
"""Flattens an iterable to the sum of the elements with a starting value of [].
This behaves like collapsing the first dimension of the iterable.