]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Only treat an AugAssign as def if its the target is a Name.
authorJeremy Hylton <jeremy@alum.mit.edu>
Thu, 12 Apr 2001 07:06:25 +0000 (07:06 +0000)
committerJeremy Hylton <jeremy@alum.mit.edu>
Thu, 12 Apr 2001 07:06:25 +0000 (07:06 +0000)
commit5c9aad6043724148f2159191cf14d751c6ec44d2
tree041117e5e5afb5d32ffdcd98eedff0dc2c4c30f3
parent3f76b7e6e465a7109f78d499996246d8de26f6a8
Only treat an AugAssign as def if its the target is a Name.
Fixes last bug found with test_scope.py.
Lib/compiler/symbols.py
Tools/compiler/compiler/symbols.py