Skip to content

Commit 7987b7c

Browse files
committed
make syntax of lazy_piped more robust, _funcs should be keyword-only
1 parent cbeb750 commit 7987b7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unpythonic/seq.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ class lazy_piped:
194194
Another way to say this is that ``lazy_piped`` looks up the initial value
195195
dynamically, at get time.
196196
"""
197-
def __init__(self, x, _funcs=None):
197+
def __init__(self, x, *, _funcs=None):
198198
"""Set up a lazy pipe and load the initial value x into it.
199199
200200
The ``_funcs`` parameter is for internal use.

0 commit comments

Comments
 (0)