[Python-checkins] r76060 - sandbox/trunk/2to3/lib2to3/pytree.py

benjamin.peterson python-checkins at python.org
Mon Nov 2 18:55:40 CET 2009


Author: benjamin.peterson
Date: Mon Nov 2 18:55:40 2009
New Revision: 76060
Log:
revert r76059; apparently some fixers rely on Leaf no () for children
Modified:
 sandbox/trunk/2to3/lib2to3/pytree.py
Modified: sandbox/trunk/2to3/lib2to3/pytree.py
==============================================================================
--- sandbox/trunk/2to3/lib2to3/pytree.py	(original)
+++ sandbox/trunk/2to3/lib2to3/pytree.py	Mon Nov 2 18:55:40 2009
@@ -45,6 +45,7 @@
 # Default values for instance variables
 type = None # int: token number (< 256) or symbol number (>= 256)
 parent = None # Parent node pointer, or None
+ children = () # Tuple of subnodes
 was_changed = False
 
 def __new__(cls, *args, **kwds):


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /