Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(4)

Side by Side Diff: Doc/library/dis.rst

Issue 10639: reindent.py converts newlines to platform default
Patch Set: Created 8 years, 8 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Doc/library/decimal.rst ('k') | Doc/library/doctest.rst » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 :mod:`dis` --- Disassembler for Python bytecode 1 :mod:`dis` --- Disassembler for Python bytecode
2 =============================================== 2 ===============================================
3 3
4 .. module:: dis 4 .. module:: dis
5 :synopsis: Disassembler for Python bytecode. 5 :synopsis: Disassembler for Python bytecode.
6 6
7 **Source code:** :source:`Lib/dis.py` 7 **Source code:** :source:`Lib/dis.py`
8 8
9 -------------- 9 --------------
10 10
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 163
164 .. _bytecodes: 164 .. _bytecodes:
165 165
166 Python Bytecode Instructions 166 Python Bytecode Instructions
167 ---------------------------- 167 ----------------------------
168 168
169 The Python compiler currently generates the following bytecode instructions. 169 The Python compiler currently generates the following bytecode instructions.
170 170
171 171
172 **General instructions** 172 **General instructions**
173
174 .. opcode:: STOP_CODE
175
176 Indicates end-of-code to the compiler, not used by the interpreter.
177
173 178
174 .. opcode:: NOP 179 .. opcode:: NOP
175 180
176 Do nothing code. Used as a placeholder by the bytecode optimizer. 181 Do nothing code. Used as a placeholder by the bytecode optimizer.
177 182
178 183
179 .. opcode:: POP_TOP 184 .. opcode:: POP_TOP
180 185
181 Removes the top-of-stack (TOS) item. 186 Removes the top-of-stack (TOS) item.
182 187
(...skipping 614 matching lines...) Expand 10 before | Expand all | Expand 10 after
797 element on the stack contains the keyword arguments dictionary, followed by t he 802 element on the stack contains the keyword arguments dictionary, followed by t he
798 variable-arguments tuple, followed by explicit keyword and positional argumen ts. 803 variable-arguments tuple, followed by explicit keyword and positional argumen ts.
799 804
800 805
801 .. opcode:: HAVE_ARGUMENT 806 .. opcode:: HAVE_ARGUMENT
802 807
803 This is not really an opcode. It identifies the dividing line between opcode s 808 This is not really an opcode. It identifies the dividing line between opcode s
804 which don't take arguments ``< HAVE_ARGUMENT`` and those which do ``>= 809 which don't take arguments ``< HAVE_ARGUMENT`` and those which do ``>=
805 HAVE_ARGUMENT``. 810 HAVE_ARGUMENT``.
806 811
OLDNEW
« no previous file with comments | « Doc/library/decimal.rst ('k') | Doc/library/doctest.rst » ('j') | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+