We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e044e4 commit 8dfd099Copy full SHA for 8dfd099
unpythonic/syntax/prefix.py
@@ -94,6 +94,7 @@ def __repr__(self): # in case one of these ends up somewhere at runtime
94
return "<unquote>"
95
u = u()
96
97
+# not a @macro_stub; it only raises a run-time error on foo[...], not foo(...)
98
def kw(**kwargs):
99
"""[syntax] Pass-named-args operator. Only meaningful in a tuple in a prefix block."""
100
raise RuntimeError("kw only meaningful inside a tuple in a prefix block")
0 commit comments