From: sobolevn Date: Fri, 21 Feb 2025 12:59:17 +0000 (+0300) Subject: Add `.. versionadded` directive to `dis` CLI options (#130267) X-Git-Tag: v3.14.0a6~327 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9bf73c032fbf0ea27ebf6e53223c3bc69ee0dbc5;p=thirdparty%2FPython%2Fcpython.git Add `.. versionadded` directive to `dis` CLI options (#130267) --- diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst index e0e7286214ac..fca4a550f284 100644 --- a/Doc/library/dis.rst +++ b/Doc/library/dis.rst @@ -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.