From: sobolevn Date: Fri, 21 Feb 2025 13:14:27 +0000 (+0300) Subject: [3.13] Add `.. versionadded` directive to `dis` CLI options (GH-130267) (#130401) X-Git-Tag: v3.13.3~236 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2a978e16d6700a8033b9dae4dd5cc27567227a6a;p=thirdparty%2FPython%2Fcpython.git [3.13] Add `.. versionadded` directive to `dis` CLI options (GH-130267) (#130401) (cherry picked from commit 9bf73c032fbf0ea27ebf6e53223c3bc69ee0dbc5) --- diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst index 1ba87425d60e..23c7aa27c57e 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.