Skip to content

Commit 81f1050

Browse files
committed
update comment
1 parent 4592d22 commit 81f1050

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

unpythonic/syntax/nb.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ def dbgprint_block(ks, vs, *, filename=None, lineno=None, sep=", ", **kwargs):
9090
def dbg_block(body, args):
9191
if args: # custom print function hook
9292
# 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)
9394
if type(args[0]) is not Name:
9495
assert False, "Custom debug print function must be specified by a bare name"
9596
p = args[0]

0 commit comments

Comments
 (0)