Add versionadded for `-X faulthandler` (also fix typo and markup).

This commit is contained in:
Ezio Melotti 2013-03-26 02:36:28 +02:00
parent 153866ea9a
commit a1eb483d8f
1 changed files with 5 additions and 2 deletions

View File

@ -358,13 +358,16 @@ Miscellaneous options
.. cmdoption:: -X
Reserved for various implementation-specific options. CPython currently
defines just one, you can use ``-X faulthander`` to enable
:data:`faulthandler`. It also allows to pass arbitrary values and retrieve
defines just one, you can use ``-X faulthandler`` to enable
:mod:`faulthandler`. It also allows to pass arbitrary values and retrieve
them through the :data:`sys._xoptions` dictionary.
.. versionchanged:: 3.2
It is now allowed to pass :option:`-X` with CPython.
.. versionadded:: 3.3
The ``-X faulthandler`` option.
Options you shouldn't use
~~~~~~~~~~~~~~~~~~~~~~~~~