Skip to content

Commit

Permalink
update example*s* header in doctring
Browse files Browse the repository at this point in the history
  • Loading branch information
MusicalNinjaDad committed Feb 25, 2024
1 parent 819f01e commit f4da4dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions recurtools/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ def flatten(nestediterable, preservestrings = False): # noqa: ANN001, ANN201, F
"""
Recursively flattens a nested iterable (including strings!) and returns all elements in order left to right.
Example:
-------
Examples:
--------
```
>>> [x for x in flatten([1,2,[3,4,[5],6],7,[8,9]])]
[1, 2, 3, 4, 5, 6, 7, 8, 9]
Expand Down

0 comments on commit f4da4dd

Please sign in to comment.