Skip to content

Commit 8dfd099

Browse files
committed
add comment
1 parent 8e044e4 commit 8dfd099

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

unpythonic/syntax/prefix.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ def __repr__(self): # in case one of these ends up somewhere at runtime
9494
return "<unquote>"
9595
u = u()
9696

97+
# not a @macro_stub; it only raises a run-time error on foo[...], not foo(...)
9798
def kw(**kwargs):
9899
"""[syntax] Pass-named-args operator. Only meaningful in a tuple in a prefix block."""
99100
raise RuntimeError("kw only meaningful inside a tuple in a prefix block")

0 commit comments

Comments
 (0)