bpo-11233: Create availability directive for documentation (GH-9692)

Replace "Availability: xxx" with ".. availability:: xxx" in the doc.
Original patch by Georg Brandl.

Co-Authored-By: Georg Brandl <georg@python.org>
This commit is contained in:
Cheryl Sabella 2018-10-12 10:55:20 -04:00 committed by Victor Stinner
parent da2bf9f66d
commit 2d6097d027
27 changed files with 351 additions and 291 deletions

View file

@ -785,7 +785,7 @@ conflict.
This may also be enabled at runtime with
:func:`sys._enablelegacywindowsfsencoding()`.
Availability: Windows
.. availability:: Windows.
.. versionadded:: 3.6
See :pep:`529` for more details.
@ -799,7 +799,7 @@ conflict.
This variable is ignored if the standard streams are redirected (to files
or pipes) rather than referring to console buffers.
Availability: Windows
.. availability:: Windows.
.. versionadded:: 3.6
@ -850,7 +850,7 @@ conflict.
order to force the interpreter to use ``ASCII`` instead of ``UTF-8`` for
system interfaces.
Availability: \*nix
.. availability:: \*nix.
.. versionadded:: 3.7
See :pep:`538` for more details.
@ -911,7 +911,7 @@ conflict.
Also available as the :option:`-X` ``utf8`` option.
Availability: \*nix
.. availability:: \*nix.
.. versionadded:: 3.7
See :pep:`540` for more details.