diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2015-08-13 18:37:40 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2015-08-13 18:37:40 (GMT) |
commit | aa525d0cae47eac4610e3ae5531c1f92cab69c73 (patch) | |
tree | 0b814d79470f681e159b702efe3c2abd1b84d3bd | |
parent | 587748e2717bd481b8becf6bd23a80ff425550af (diff) | |
parent | 5e8d47f6ab98f607e2df7b4ad27964eec70429a4 (diff) | |
download | cpython-aa525d0cae47eac4610e3ae5531c1f92cab69c73.zip cpython-aa525d0cae47eac4610e3ae5531c1f92cab69c73.tar.gz cpython-aa525d0cae47eac4610e3ae5531c1f92cab69c73.tar.bz2 |
Issue #16554: fix description for MAKE_CLOSURE. Initial patch by Daniel Urban.
-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 7a214ed..1bcb3a4 100644 --- a/Doc/library/dis.rst +++ b/Doc/library/dis.rst @@ -946,8 +946,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) |