Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 69164c7

Browse files
committed
document LOAD_BUILD_CLASS
1 parent b09b844 commit 69164c7

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Doc/library/dis.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -412,10 +412,10 @@ Miscellaneous opcodes.
412412
with the outer-next block.
413413

414414

415-
.. opcode:: BUILD_CLASS ()
415+
.. opcode:: LOAD_BUILD_CLASS ()
416416

417-
Creates a new class object. TOS is the methods dictionary, TOS1 the tuple of
418-
the names of the base classes, and TOS2 the class name.
417+
Pushes builtins.__build_class__ onto the stack. It is later called by
418+
```CALL_FUNCTION`` to construct a class.
419419

420420

421421
.. opcode:: WITH_CLEANUP ()

0 commit comments

Comments
 (0)