Skip to content

Commit 274a9a7

Browse files
committed
add TODO comment
1 parent 3b632ee commit 274a9a7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

unpythonic/syntax/scopeanalyzer.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ def transform(self, tree):
125125
for stmt in tree.body:
126126
self.withstate(stmt, args=args, localvars=localvars, nonlocals=nonlocals)
127127
stmt = self.visit(stmt)
128+
# TODO: should we allow the custom transformer to return a list of statements, too?
128129
if stmt: # allow deletions by the custom transformer
129130
newbody.append(stmt)
130131
# new local variables come into scope at the next statement (not yet on the RHS of the assignment).

0 commit comments

Comments
 (0)