Skip to content
Snippets Groups Projects
Commit 05b33f42 authored by Chris Lamb's avatar Chris Lamb :eyes:
Browse files

Wrap docstring across multiple lines.

parent 1978f9d1
No related branches found
No related tags found
No related merge requests found
...@@ -77,8 +77,10 @@ re_anchor_suffix = re.compile(r'[^A-Za-z-_:\.]') ...@@ -77,8 +77,10 @@ re_anchor_suffix = re.compile(r'[^A-Za-z-_:\.]')
def send_and_exhaust(iterator, arg, default): def send_and_exhaust(iterator, arg, default):
"""Send a single value to a coroutine, exhaust it, and return the final """
element or a default value if it was empty.""" Send a single value to a coroutine, exhaust it, and return the final
element or a default value if it was empty.
"""
# Python's coroutine syntax is still a bit rough when you want to do # Python's coroutine syntax is still a bit rough when you want to do
# slightly more complex stuff. Watch this logic closely. # slightly more complex stuff. Watch this logic closely.
output = default output = default
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment