summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/dis.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst
index 6b2de49..bf991d7 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 ()