summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2017-11-07 02:18:40 (GMT)
committerGitHub <noreply@github.com>2017-11-07 02:18:40 (GMT)
commit962e2a7317101af4bd2fa34ed101a53d7a4cbfa3 (patch)
tree35a14f87029b0359d254dc34bb563b60645df10c /Doc
parenta22a127458d75b9b7e65e058f5db5ff705df5696 (diff)
downloadcpython-962e2a7317101af4bd2fa34ed101a53d7a4cbfa3.zip
cpython-962e2a7317101af4bd2fa34ed101a53d7a4cbfa3.tar.gz
cpython-962e2a7317101af4bd2fa34ed101a53d7a4cbfa3.tar.bz2
Fix a minor typo and hyphenate "multi-threading" (#4237)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/using/cmdline.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/Doc/using/cmdline.rst b/Doc/using/cmdline.rst
index 310891d..9100494 100644
--- a/Doc/using/cmdline.rst
+++ b/Doc/using/cmdline.rst
@@ -408,11 +408,11 @@ Miscellaneous options
* ``-X showalloccount`` to output the total count of allocated objects for
each type when the program finishes. This only works when Python was built with
``COUNT_ALLOCS`` defined.
- * ``-X importtime`` to show how long each import takes. It shows module name,
- cumulative time (including nested imports) and self time (exluding nested
- imports). Note that its output may be broken in multi threaded application.
- Typical usage is ``python3 -X importtime -c 'import asyncio'``. See also
- :envvar:`PYTHONPROFILEIMPORTTIME`.
+ * ``-X importtime`` to show how long each import takes. It shows module
+ name, cumulative time (including nested imports) and self time (excluding
+ nested imports). Note that its output may be broken in multi-threaded
+ application. Typical usage is ``python3 -X importtime -c 'import
+ asyncio'``. See also :envvar:`PYTHONPROFILEIMPORTTIME`.
It also allows passing arbitrary values and retrieving them through the
:data:`sys._xoptions` dictionary.