Skip to content

Commit

Permalink
♻️ Update multi line comment formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
garlontas committed Nov 25, 2024
1 parent fe4efdf commit ef0b1c0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pystreamapi/_itertools/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,10 @@ def reduce(function, sequence, initial=_initial_missing, handler: ErrorHandler =


def peek(iterable: Iterable, mapper):
"""Generator wrapper that applies a function to every item of the iterable
and yields the item unchanged."""
"""
Generator wrapper that applies a function to every item of the iterable
and yields the item unchanged.
"""
for item in iterable:
mapper(item)
yield item
Expand Down

0 comments on commit ef0b1c0

Please sign in to comment.