From 69164c77ef963abea3022b3bc03c839cca860d71 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Thu, 3 Jul 2008 14:45:20 +0000 Subject: [PATCH] document LOAD_BUILD_CLASS --- Doc/library/dis.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst index 6b2de49616c..bf991d70878 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 ()