Skip to content

Commit 9219f63

Browse files
committed
fix bug in detect_callec
1 parent 8b4bdda commit 9219f63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unpythonic/syntax/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ def g(ec): # <-- should grab from here
107107
and `throw` covers the use of `unpythonic.ec.throw`.)
108108
"""
109109
fallbacks = ["ec", "brk", "throw"]
110-
iscallec = partial(isx, make_isxpred("call_ec"))
110+
iscallec = partial(isx, x=make_isxpred("call_ec"))
111111
@Walker
112112
def detect(tree, *, collect, **kw):
113113
# TODO: add support for general use of call_ec as a function (difficult)

0 commit comments

Comments
 (0)