[pypy-svn] r14773 - pypy/dist/pypy/documentation

cfbolz at codespeak.net cfbolz at codespeak.net
Tue Jul 19 15:45:19 CEST 2005


Author: cfbolz
Date: Tue Jul 19 15:45:18 2005
New Revision: 14773

Modified:
   pypy/dist/pypy/documentation/interpreter.txt
Log:
fixed some typos and changed wrong description for co_stacksize (thanks
mwh, pedronis)


Modified: pypy/dist/pypy/documentation/interpreter.txt
==============================================================================
--- pypy/dist/pypy/documentation/interpreter.txt	(original)
+++ pypy/dist/pypy/documentation/interpreter.txt	Tue Jul 19 15:45:18 2005
@@ -139,13 +139,13 @@
 ------------ 
 
 PyPy's code objects contain the same information found in CPython's code objects. 
-the differ from Function_ objects in that they are only immutable representations 
+They differ from Function_ objects in that they are only immutable representations 
 of source code and don't contain execution state or references to the execution
 environment found in `Frames`.  Frames and Functions have references 
 to a code object. Here is a list of Code attributes:
 
 * ``co_flags`` flags if this code object has nested scopes/generators 
-* ``co_stacksize`` flags if this code object has nested scopes/generators 
+* ``co_stacksize`` the maximum depth the stack can reach while executing the code
 * ``co_code`` the actual bytecode string 
  
 * ``co_argcount`` number of arguments this code object expects 
@@ -235,7 +235,7 @@
 Apart from the basic Module used for importing application-level files 
 there is a more refined ``MixedModule`` class (see `pypy/interpreter/mixedmodule.py`_) 
 which allows to define name-value bindings both at application level 
-and an intepreter level.  See the ``__builtin__`` module's 
+and at intepreter level.  See the ``__builtin__`` module's 
 `pypy/module/__builtin__/__init__.py`_ file for an example
 and the higher level `chapter on Modules in the coding guide`_. 
 



More information about the Pypy-commit mailing list