Skip to content

Commit 106a406

Browse files
committed
add comment
1 parent a09e597 commit 106a406

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

unpythonic/syntax/letdo.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -458,6 +458,8 @@ def _transform_name(tree, rhsnames, envname):
458458
def transform(tree, names_in_scope):
459459
# This transformation is deceptively simple, hence requires some comment:
460460
#
461+
# - The goal is to transform read accesses to let variables, `x` --> `e.x`.
462+
#
461463
# - Attributes (and Subscripts) work, because we are called again for
462464
# the `value` part of the `Attribute` (or `Subscript`) node, which
463465
# then gets transformed if it's a `Name` matching our rules.

0 commit comments

Comments
 (0)