Add .. versionadded directive to dis CLI options (#130267)

This commit is contained in:
sobolevn 2025-02-21 15:59:17 +03:00 committed by GitHub
parent 5d66c55c8a
commit 9bf73c032f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -105,18 +105,26 @@ The following options are accepted:
Show inline caches.
.. versionadded:: 3.13
.. option:: -O, --show-offsets
Show offsets of instructions.
.. versionadded:: 3.13
.. option:: -P, --show-positions
Show positions of instructions in the source code.
.. versionadded:: 3.14
.. option:: -S, --specialized
Show specialized bytecode.
.. versionadded:: 3.14
If :file:`infile` is specified, its disassembled code will be written to stdout.
Otherwise, disassembly is performed on compiled source code received from stdin.