Skip to content

Commit

Permalink
make syntax of lazy_piped more robust, _funcs should be keyword-only
Browse files Browse the repository at this point in the history
  • Loading branch information
Technologicat committed Aug 28, 2018
1 parent cbeb750 commit 7987b7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unpythonic/seq.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ class lazy_piped:
Another way to say this is that ``lazy_piped`` looks up the initial value
dynamically, at get time.
"""
def __init__(self, x, _funcs=None):
def __init__(self, x, *, _funcs=None):
"""Set up a lazy pipe and load the initial value x into it.
The ``_funcs`` parameter is for internal use.
Expand Down

0 comments on commit 7987b7c

Please sign in to comment.