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
24a131f4
Commit
24a131f4
authored
Jan 11, 2008
by
Raymond Hettinger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update the opcode docs for STORE_MAP and BUILD_MAP
parent
f5b806d0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
Doc/library/dis.rst
Doc/library/dis.rst
+7
-3
No files found.
Doc/library/dis.rst
View file @
24a131f4
...
...
@@ -608,10 +608,10 @@ the more significant byte last.
Works as ``BUILD_TUPLE``, but creates a list.
.. opcode:: BUILD_MAP (
zero
)
.. opcode:: BUILD_MAP (
count
)
Pushes a new
empty dictionary object onto the stack. The argument is ignor
ed
and set to zero by the compiler
.
Pushes a new
dictionary object onto the stack. The dictionary is pre-siz
ed
to hold *count* entries
.
.. opcode:: LOAD_ATTR (namei)
...
...
@@ -691,6 +691,10 @@ the more significant byte last.
Pushes a try block from a try-except clause onto the block stack. *delta* points
to the finally block.
.. opcode:: STORE_MAP ()
Store a key and value pair in a dictionary. Pops the key and value while leaving
the dictionary on the stack.
.. opcode:: LOAD_FAST (var_num)
...
...
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