summaryrefslogtreecommitdiffstats
path: root/Doc/library/dis.rst
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2008-07-03 14:45:20 (GMT)
committerBenjamin Peterson <benjamin@python.org>2008-07-03 14:45:20 (GMT)
commit69164c77ef963abea3022b3bc03c839cca860d71 (patch)
tree3afb6a208cdce63e18306626c40c4c50985f4e42 /Doc/library/dis.rst
parentb09b844a5c7bb41cf67af8aafe0682c3bfdc12da (diff)
downloadcpython-69164c77ef963abea3022b3bc03c839cca860d71.zip
cpython-69164c77ef963abea3022b3bc03c839cca860d71.tar.gz
cpython-69164c77ef963abea3022b3bc03c839cca860d71.tar.bz2
document LOAD_BUILD_CLASS
Diffstat (limited to 'Doc/library/dis.rst')
-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 ()