diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2015-08-13 18:37:08 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2015-08-13 18:37:08 (GMT) |
commit | 4ce4f974da6dd67c0701454453420988624241d8 (patch) | |
tree | 271083aad1e104e2764958fdff14915b8588e36f /Doc/library | |
parent | edbc28ce81f46d042f9d5ddf9c5bc8cecebc715a (diff) | |
download | cpython-4ce4f974da6dd67c0701454453420988624241d8.zip cpython-4ce4f974da6dd67c0701454453420988624241d8.tar.gz cpython-4ce4f974da6dd67c0701454453420988624241d8.tar.bz2 |
Issue #16554: fix description for MAKE_CLOSURE. Initial patch by Daniel Urban.
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/dis.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst index b816dcc..273fb20 100644 --- a/Doc/library/dis.rst +++ b/Doc/library/dis.rst @@ -887,8 +887,8 @@ the more significant byte last. Creates a new function object, sets its *__closure__* slot, and pushes it on the stack. TOS is the :term:`qualified name` of the function, TOS1 is the code associated with the function, and TOS2 is the tuple containing cells for - the closure's free variables. The function also has *argc* default - parameters, which are found below the cells. + the closure's free variables. *argc* is interpreted as in ``MAKE_FUNCTION``; + the annotations and defaults are also in the same order below TOS2. .. opcode:: BUILD_SLICE (argc) |