[pypy-svn] r68652 - pypy/trunk/pypy/interpreter/astcompiler

benjamin at codespeak.net benjamin at codespeak.net
Mon Oct 19 23:02:07 CEST 2009


Author: benjamin
Date: Mon Oct 19 23:02:06 2009
New Revision: 68652

Modified:
   pypy/trunk/pypy/interpreter/astcompiler/consts.py
Log:
remove unused constants

Modified: pypy/trunk/pypy/interpreter/astcompiler/consts.py
==============================================================================
--- pypy/trunk/pypy/interpreter/astcompiler/consts.py	(original)
+++ pypy/trunk/pypy/interpreter/astcompiler/consts.py	Mon Oct 19 23:02:06 2009
@@ -1,15 +1,6 @@
-# operation flags
-OP_ASSIGN = 0 # 'OP_ASSIGN'
-OP_DELETE = 1 # 'OP_DELETE'
-OP_APPLY  = 2 # 'OP_APPLY'
-OP_NONE   = 3
-
-SC_LOCAL = 1
-SC_GLOBAL = 2
-SC_FREE = 3
-SC_CELL = 4
-SC_UNKNOWN = 5
-SC_DEFAULT = 6
+"""
+Various flags used during the compilation process.
+"""
 
 CO_OPTIMIZED = 0x0001
 CO_NEWLOCALS = 0x0002



More information about the Pypy-commit mailing list