]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] Add `.. versionadded` directive to `dis` CLI options (GH-130267) (#130401)
authorsobolevn <mail@sobolevn.me>
Fri, 21 Feb 2025 13:14:27 +0000 (16:14 +0300)
committerGitHub <noreply@github.com>
Fri, 21 Feb 2025 13:14:27 +0000 (13:14 +0000)
(cherry picked from commit 9bf73c032fbf0ea27ebf6e53223c3bc69ee0dbc5)

Doc/library/dis.rst

index 1ba87425d60e1ad242b3b168ab9008058e89fc55..23c7aa27c57e7e1c77cace430c046866616ece09 100644 (file)
@@ -99,10 +99,14 @@ The following options are accepted:
 
    Show inline caches.
 
+   .. versionadded:: 3.13
+
 .. option:: -O, --show-offsets
 
    Show offsets of instructions.
 
+   .. versionadded:: 3.13
+
 If :file:`infile` is specified, its disassembled code will be written to stdout.
 Otherwise, disassembly is performed on compiled source code received from stdin.