[pypy-svn] r66347 - pypy/branch/parser-compiler/pypy/interpreter/astcompiler/tools

benjamin at codespeak.net benjamin at codespeak.net
Sat Jul 18 04:23:28 CEST 2009


Author: benjamin
Date: Sat Jul 18 04:23:27 2009
New Revision: 66347

Modified:
   pypy/branch/parser-compiler/pypy/interpreter/astcompiler/tools/asdl_py.py
Log:
give the base AST node __slots__

Modified: pypy/branch/parser-compiler/pypy/interpreter/astcompiler/tools/asdl_py.py
==============================================================================
--- pypy/branch/parser-compiler/pypy/interpreter/astcompiler/tools/asdl_py.py	(original)
+++ pypy/branch/parser-compiler/pypy/interpreter/astcompiler/tools/asdl_py.py	Sat Jul 18 04:23:27 2009
@@ -222,6 +222,8 @@
 
 class AST(Wrappable):
 
+    __slots__ = ()
+
     __metaclass__ = extendabletype
 
     def walkabout(self, visitor):



More information about the Pypy-commit mailing list