https://github.com/python/cpython/commit/2a978e16d6700a8033b9dae4dd5cc27567227a6a
commit: 2a978e16d6700a8033b9dae4dd5cc27567227a6a
branch: 3.13
author: sobolevn <[email protected]>
committer: sobolevn <[email protected]>
date: 2025-02-21T13:14:27Z
summary:
[3.13] Add `.. versionadded` directive to `dis` CLI options (GH-130267)
(#130401)
(cherry picked from commit 9bf73c032fbf0ea27ebf6e53223c3bc69ee0dbc5)
files:
M Doc/library/dis.rst
diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst
index 1ba87425d60e1a..23c7aa27c57e7e 100644
--- a/Doc/library/dis.rst
+++ b/Doc/library/dis.rst
@@ -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.
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]