[prev in list] [next in list] [prev in thread] [next in thread]
List: pypy-svn
Subject: [pypy-svn] r8725 - pypy/dist/pypy/interpreter
From: arigo () codespeak ! net
Date: 2005-01-29 16:03:53
Message-ID: 20050129160353.BAAC027B66 () code1 ! codespeak ! net
[Download RAW message or body]
Author: arigo
Date: Sat Jan 29 17:03:53 2005
New Revision: 8725
Modified:
pypy/dist/pypy/interpreter/pycode.py
Log:
PyCode.co_consts_w is really a list, not a tuple.
Modified: pypy/dist/pypy/interpreter/pycode.py
==============================================================================
--- pypy/dist/pypy/interpreter/pycode.py (original)
+++ pypy/dist/pypy/interpreter/pycode.py Sat Jan 29 17:03:53 2005
@@ -53,8 +53,8 @@
self.co_stacksize = 0 # #entries needed for evaluation stack
self.co_flags = 0 # CO_..., see above
self.co_code = None # string: instruction opcodes
- self.co_consts_w = () # tuple: constants used (wrapped!)
- self.co_names_w = [] # list of wrapped strings: names (for attrs,...)
+ self.co_consts_w = [] # list of constants used (wrapped!)
+ self.co_names_w = [] # list of wrapped strs: names (for attrs..)
self.co_varnames = () # tuple of strings: local variable names
self.co_freevars = () # tuple of strings: free variable names
self.co_cellvars = () # tuple of strings: cell variable names
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic