summaryrefslogtreecommitdiffstats
path: root/Doc/library/inspect.rst
diff options
context:
space:
mode:
authorAdam Turner <9087854+AA-Turner@users.noreply.github.com>2023-10-03 17:38:12 (GMT)
committerGitHub <noreply@github.com>2023-10-03 17:38:12 (GMT)
commit77e9aae3837d9f0cf87461d023896f2c4aeb282f (patch)
tree508dcedceb78404e8fb2f3d36c692c109242d7a0 /Doc/library/inspect.rst
parentd67edcf0b361c9ee0d29ed719562c58a85304cd0 (diff)
downloadcpython-77e9aae3837d9f0cf87461d023896f2c4aeb282f.zip
cpython-77e9aae3837d9f0cf87461d023896f2c4aeb282f.tar.gz
cpython-77e9aae3837d9f0cf87461d023896f2c4aeb282f.tar.bz2
Docs: Avoid the deprecated ``.. cmdoption::`` directive (#110292)
Diffstat (limited to 'Doc/library/inspect.rst')
-rw-r--r--Doc/library/inspect.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/inspect.rst b/Doc/library/inspect.rst
index fe0ed13..d0c3dd7 100644
--- a/Doc/library/inspect.rst
+++ b/Doc/library/inspect.rst
@@ -1655,6 +1655,6 @@ By default, accepts the name of a module and prints the source of that
module. A class or function within the module can be printed instead by
appended a colon and the qualified name of the target object.
-.. cmdoption:: --details
+.. option:: --details
Print information about the specified object rather than the source code