]> granicus.if.org Git - python/commitdiff
document LOAD_BUILD_CLASS
authorBenjamin Peterson <benjamin@python.org>
Thu, 3 Jul 2008 14:45:20 +0000 (14:45 +0000)
committerBenjamin Peterson <benjamin@python.org>
Thu, 3 Jul 2008 14:45:20 +0000 (14:45 +0000)
Doc/library/dis.rst

index 6b2de49616ce62743595280dda1cf54042d0bbd4..bf991d70878d67341b304921de5f2b4e0672970b 100644 (file)
@@ -412,10 +412,10 @@ Miscellaneous opcodes.
    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 ()