]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Add `.. versionadded` directive to `dis` CLI options (#130267)
authorsobolevn <mail@sobolevn.me>
Fri, 21 Feb 2025 12:59:17 +0000 (15:59 +0300)
committerGitHub <noreply@github.com>
Fri, 21 Feb 2025 12:59:17 +0000 (15:59 +0300)
Doc/library/dis.rst

index e0e7286214ac1131a65506f43c9d64691f1963b2..fca4a550f2844170a45c68f5c94267141f06c24f 100644 (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.