https://github.com/python/cpython/commit/9bf73c032fbf0ea27ebf6e53223c3bc69ee0dbc5
commit: 9bf73c032fbf0ea27ebf6e53223c3bc69ee0dbc5
branch: main
author: sobolevn <[email protected]>
committer: sobolevn <[email protected]>
date: 2025-02-21T15:59:17+03:00
summary:
Add `.. versionadded` directive to `dis` CLI options (#130267)
files:
M Doc/library/dis.rst
diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst
index e0e7286214ac11..fca4a550f28441 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.
_______________________________________________
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]