We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4592d22 commit 81f1050Copy full SHA for 81f1050
1 file changed
unpythonic/syntax/nb.py
@@ -90,6 +90,7 @@ def dbgprint_block(ks, vs, *, filename=None, lineno=None, sep=", ", **kwargs):
90
def dbg_block(body, args):
91
if args: # custom print function hook
92
# TODO: add support for Attribute to support using a method as a custom print function
93
+ # (the problem is we must syntactically find matches in the AST, and AST nodes don't support comparison)
94
if type(args[0]) is not Name:
95
assert False, "Custom debug print function must be specified by a bare name"
96
p = args[0]
0 commit comments