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

Delta Between Two Patch Sets: Doc/library/dis.rst

Issue 27095: Simplify MAKE_FUNCTION
Left Patch Set: Created 3 years, 4 months ago
Right Patch Set: Created 3 years, 4 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:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « no previous file | Include/opcode.h » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
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 940 matching lines...) Expand 10 before | Expand all | Expand 10 after
951 951
952 .. index:: builtin: slice 952 .. index:: builtin: slice
953 953
954 Pushes a slice object on the stack. *argc* must be 2 or 3. If it is 2, 954 Pushes a slice object on the stack. *argc* must be 2 or 3. If it is 2,
955 ``slice(TOS1, TOS)`` is pushed; if it is 3, ``slice(TOS2, TOS1, TOS)`` is 955 ``slice(TOS1, TOS)`` is pushed; if it is 3, ``slice(TOS2, TOS1, TOS)`` is
956 pushed. See the :func:`slice` built-in function for more information. 956 pushed. See the :func:`slice` built-in function for more information.
957 957
958 958
959 .. opcode:: EXTENDED_ARG (ext) 959 .. opcode:: EXTENDED_ARG (ext)
960 960
961 EXTENDED_ARG adds ``*ext* * 256`` to the next instruction's argument. 961 EXTENDED_ARG adds ``*ext* * 256`` to the next instruction's argument.
storchaka 2016/06/12 16:36:42 I would prefer to commit this in issue26647 togeth
962 This is used for arguments exceeding a byte in size, and can be chained 962 This is used for arguments exceeding a byte in size, and can be chained
963 to create 4-byte arguments. 963 to create 4-byte arguments.
964 964
965 965
966 .. opcode:: CALL_FUNCTION_VAR (argc) 966 .. opcode:: CALL_FUNCTION_VAR (argc)
967 967
968 Calls a function. *argc* is interpreted as in :opcode:`CALL_FUNCTION`. The 968 Calls a function. *argc* is interpreted as in :opcode:`CALL_FUNCTION`. The
969 top element on the stack contains the variable argument list, followed by 969 top element on the stack contains the variable argument list, followed by
970 keyword and positional arguments. 970 keyword and positional arguments.
971 971
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
1065 1065
1066 1066
1067 .. data:: haslocal 1067 .. data:: haslocal
1068 1068
1069 Sequence of bytecodes that access a local variable. 1069 Sequence of bytecodes that access a local variable.
1070 1070
1071 1071
1072 .. data:: hascompare 1072 .. data:: hascompare
1073 1073
1074 Sequence of bytecodes of Boolean operations. 1074 Sequence of bytecodes of Boolean operations.
LEFTRIGHT
« no previous file | Include/opcode.h » ('j') | Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Toggle Comments ('s')

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