Update docs 2.

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

View File

@ -90,7 +90,7 @@ This behaves like collapsing the first dimension of the iterable.
| Name | Description | Default Value | | Name | Description | Default Value |
| :------------- | :------------- | :------------- | | :------------- | :------------- | :------------- |
| <a id="collections.flatten-iterable"></a>iterable | An iterable of iterables to be collapsed to a list. | none | | <a id="collections.flatten-iterable"></a>iterable | An iterable to be collapsed to a list. | none |
**RETURNS** **RETURNS**

View File

@ -71,7 +71,7 @@ def _flatten(iterable):
This behaves like collapsing the first dimension of the iterable. This behaves like collapsing the first dimension of the iterable.
Args: Args:
iterable: An iterable of iterables to be collapsed to a list. iterable: An iterable to be collapsed to a list.
Returns: Returns:
A new list with the collapsed elements from `iterable`. A new list with the collapsed elements from `iterable`.