[Python-3000-checkins] r64692 - python/branches/py3k/Doc/library/dis.rst

benjamin.peterson python-3000-checkins at python.org
Thu Jul 3 16:45:21 CEST 2008


Author: benjamin.peterson
Date: Thu Jul  3 16:45:20 2008
New Revision: 64692

Log:
document LOAD_BUILD_CLASS

Modified:
   python/branches/py3k/Doc/library/dis.rst

Modified: python/branches/py3k/Doc/library/dis.rst
==============================================================================
--- python/branches/py3k/Doc/library/dis.rst	(original)
+++ python/branches/py3k/Doc/library/dis.rst	Thu Jul  3 16:45:20 2008
@@ -412,10 +412,10 @@
    with the outer-next block.
 
 
-.. opcode:: BUILD_CLASS ()
+.. opcode:: LOAD_BUILD_CLASS ()
 
-   Creates a new class object.  TOS is the methods dictionary, TOS1 the tuple of
-   the names of the base classes, and TOS2 the class name.
+   Pushes builtins.__build_class__ onto the stack.  It is later called by
+   ```CALL_FUNCTION`` to construct a class.
 
 
 .. opcode:: WITH_CLEANUP ()


More information about the Python-3000-checkins mailing list