]> granicus.if.org Git - python/commitdiff
Merge versionadded addition and typo fix from 3.3.
authorEzio Melotti <ezio.melotti@gmail.com>
Tue, 26 Mar 2013 00:38:40 +0000 (02:38 +0200)
committerEzio Melotti <ezio.melotti@gmail.com>
Tue, 26 Mar 2013 00:38:40 +0000 (02:38 +0200)
1  2 
Doc/using/cmdline.rst

index adb37393682e34ca3dee922a3d08e669a3f6aa2a,e0c80f6bcb96ad388debbe1b395120bd5a3cff2f..185852a84b014336e018dad506b25070d634c92c
@@@ -358,21 -358,16 +358,24 @@@ Miscellaneous option
  .. cmdoption:: -X
  
     Reserved for various implementation-specific options.  CPython currently
 -   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.
 +   defines two possible values:
 +
-    * ``-X faulthander`` to enable :mod:`faulthandler`;
++   * ``-X faulthandler`` to enable :mod:`faulthandler`;
 +   * ``-X showrefcount`` to enable the output of the total reference count
 +     and memory blocks (only works on debug builds);
 +
 +   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.
 +   .. versionadded:: 3.4
 +      The ``-X showrefcount`` option.
 +
  
  Options you shouldn't use
  ~~~~~~~~~~~~~~~~~~~~~~~~~