Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
9f8c2194
Commit
9f8c2194
authored
Nov 23, 2012
by
Andrew Svetlov
Browse files
Options
Browse Files
Download
Plain Diff
Merge issue #16538: correctly describe MAKE_CLOSURE in docs.
Patch by Daniel Urban
parents
32f4e6e9
a5c43094
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
Doc/library/dis.rst
Doc/library/dis.rst
+4
-3
No files found.
Doc/library/dis.rst
View file @
9f8c2194
...
@@ -763,9 +763,10 @@ the more significant byte last.
...
@@ -763,9 +763,10 @@ the more significant byte last.
.. opcode:: MAKE_CLOSURE (argc)
.. opcode:: MAKE_CLOSURE (argc)
Creates a new function object, sets its *__closure__* slot, and pushes it on
Creates a new function object, sets its *__closure__* slot, and pushes it on
the stack. TOS is the code associated with the function, TOS1 the tuple
the stack. TOS is the :term:`qualified name` of the function, TOS1 is the
containing cells for the closure's free variables. The function also has
code associated with the function, and TOS2 is the tuple containing cells for
*argc* default parameters, which are found below the cells.
the closure's free variables. The function also has *argc* default parameters,
which are found below the cells.
.. opcode:: BUILD_SLICE (argc)
.. opcode:: BUILD_SLICE (argc)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment