Skip to content

Commit

Permalink
Fix docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
mondeja committed Nov 16, 2024
1 parent 506d1a4 commit d431a83
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/mdpo/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,12 +133,5 @@ def save_file_checking_file_changed(filepath, content, encoding='utf-8'):


def flatten(xss):
"""Flatten a list of lists.
Args:
xss (list): List of lists to flatten.
Returns:
list: Flattened list.
"""
"""Flatten a iterable of iterables."""
return (x for xs in xss for x in xs)

0 comments on commit d431a83

Please sign in to comment.