From: Zachary Ware Date: Tue, 7 Jul 2015 05:07:25 +0000 (-0500) Subject: Fix usage of the default role. X-Git-Tag: v3.5.0b4~66 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3d3aedc8ba2d7e97859b408c8ea3565c68364f0c;p=python Fix usage of the default role. --- diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst index 545e6742c1..bb9bdc86a1 100644 --- a/Doc/library/sys.rst +++ b/Doc/library/sys.rst @@ -1100,7 +1100,7 @@ always available. pass # The following line will fail with a RuntimeError, because - # `wrapper` creates a `wrap(coro)` coroutine: + # ``wrapper`` creates a ``wrap(coro)`` coroutine: foo() See also :func:`get_coroutine_wrapper`. diff --git a/Doc/library/test.rst b/Doc/library/test.rst index 8f2df7c15a..f7ad475402 100644 --- a/Doc/library/test.rst +++ b/Doc/library/test.rst @@ -570,9 +570,9 @@ The :mod:`test.support` module defines the following functions: .. function:: detect_api_mismatch(ref_api, other_api, *, ignore=()): - Returns the set of attributes, functions or methods of `ref_api` not - found on `other_api`, except for a defined list of items to be - ignored in this check specified in `ignore`. + Returns the set of attributes, functions or methods of *ref_api* not + found on *other_api*, except for a defined list of items to be + ignored in this check specified in *ignore*. By default this skips private attributes beginning with '_' but includes all magic methods, i.e. those starting and ending in '__'. diff --git a/Doc/whatsnew/3.5.rst b/Doc/whatsnew/3.5.rst index 9713a98f36..a6d48598e9 100644 --- a/Doc/whatsnew/3.5.rst +++ b/Doc/whatsnew/3.5.rst @@ -1086,7 +1086,7 @@ Changes in the Python API * The :mod:`socket` module now exports the CAN_RAW_FD_FRAMES constant on linux 3.6 and greater. -* The `pygettext.py` Tool now uses the standard +NNNN format for timezones in +* The ``pygettext.py`` Tool now uses the standard +NNNN format for timezones in the POT-Creation-Date header. * The :mod:`smtplib` module now uses :data:`sys.stderr` instead of previous