Skip to content

Commit 9bf73c0

Browse files
authored
Add .. versionadded directive to dis CLI options (#130267)
1 parent 5d66c55 commit 9bf73c0

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Doc/library/dis.rst

+8
Original file line numberDiff line numberDiff line change
@@ -105,18 +105,26 @@ The following options are accepted:
105105

106106
Show inline caches.
107107

108+
.. versionadded:: 3.13
109+
108110
.. option:: -O, --show-offsets
109111

110112
Show offsets of instructions.
111113

114+
.. versionadded:: 3.13
115+
112116
.. option:: -P, --show-positions
113117

114118
Show positions of instructions in the source code.
115119

120+
.. versionadded:: 3.14
121+
116122
.. option:: -S, --specialized
117123

118124
Show specialized bytecode.
119125

126+
.. versionadded:: 3.14
127+
120128
If :file:`infile` is specified, its disassembled code will be written to stdout.
121129
Otherwise, disassembly is performed on compiled source code received from stdin.
122130

0 commit comments

Comments
 (0)