]> granicus.if.org Git - python/commit
Generate SET_LINENO for list and tuple literals when the open paren
authorJeremy Hylton <jeremy@alum.mit.edu>
Wed, 29 Aug 2001 20:57:43 +0000 (20:57 +0000)
committerJeremy Hylton <jeremy@alum.mit.edu>
Wed, 29 Aug 2001 20:57:43 +0000 (20:57 +0000)
commit1936745668f44dd121b50fef31a70efc07cc4ebf
tree378ba3f0b48654c7ac6f7e8514cd563d8ed51e93
parent7845cf8d37f3b1d6cb29cdc9998d1c8b607e251e
Generate SET_LINENO for list and tuple literals when the open paren
starts a new line.

Also fix undetected typo in visitDict() -- uncovered by recent change
to add lineno attrs to atoms.
Lib/compiler/pycodegen.py
Tools/compiler/compiler/pycodegen.py