From: Benjamin Peterson Date: Thu, 3 Jul 2008 14:45:20 +0000 (+0000) Subject: document LOAD_BUILD_CLASS X-Git-Tag: v3.0b2~102 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=69164c77ef963abea3022b3bc03c839cca860d71;p=python document LOAD_BUILD_CLASS --- diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst index 6b2de49616..bf991d7087 100644 --- a/Doc/library/dis.rst +++ b/Doc/library/dis.rst @@ -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 ()