summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorMario Corchero <mariocj89@gmail.com>2019-06-01 04:49:10 (GMT)
committerNick Coghlan <ncoghlan@gmail.com>2019-06-01 04:49:09 (GMT)
commit354227a1e90036d8c1481a211746de912c6c7c33 (patch)
treed6f17c6225b1dc76f7bae5b8399df63f3f289358 /Doc
parent664fe3996f7e05ae351526f02b21504bb065bcf8 (diff)
downloadcpython-354227a1e90036d8c1481a211746de912c6c7c33.zip
cpython-354227a1e90036d8c1481a211746de912c6c7c33.tar.gz
cpython-354227a1e90036d8c1481a211746de912c6c7c33.tar.bz2
Add option to trace to run modules (GH-5134)
Adds a new option in trace that allows tracing runnable modules. It is exposed as `--module module_name` as `-m` is already in use for another argument.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/trace.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/library/trace.rst b/Doc/library/trace.rst
index 5cb7029..85fec68 100644
--- a/Doc/library/trace.rst
+++ b/Doc/library/trace.rst
@@ -42,6 +42,9 @@ all Python modules imported during the execution into the current directory.
Display the version of the module and exit.
+.. versionadded:: 3.8
+ Added ``--module`` option that allows to run an executable module.
+
Main options
^^^^^^^^^^^^