Unverified Kaydet (Commit) 962e2a73 authored tarafından Barry Warsaw's avatar Barry Warsaw Kaydeden (comit) GitHub

Fix a minor typo and hyphenate "multi-threading" (#4237)

üst a22a1274
...@@ -408,11 +408,11 @@ Miscellaneous options ...@@ -408,11 +408,11 @@ Miscellaneous options
* ``-X showalloccount`` to output the total count of allocated objects for * ``-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 each type when the program finishes. This only works when Python was built with
``COUNT_ALLOCS`` defined. ``COUNT_ALLOCS`` defined.
* ``-X importtime`` to show how long each import takes. It shows module name, * ``-X importtime`` to show how long each import takes. It shows module
cumulative time (including nested imports) and self time (exluding nested name, cumulative time (including nested imports) and self time (excluding
imports). Note that its output may be broken in multi threaded application. nested imports). Note that its output may be broken in multi-threaded
Typical usage is ``python3 -X importtime -c 'import asyncio'``. See also application. Typical usage is ``python3 -X importtime -c 'import
:envvar:`PYTHONPROFILEIMPORTTIME`. asyncio'``. See also :envvar:`PYTHONPROFILEIMPORTTIME`.
It also allows passing arbitrary values and retrieving them through the It also allows passing arbitrary values and retrieving them through the
:data:`sys._xoptions` dictionary. :data:`sys._xoptions` dictionary.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment