]> granicus.if.org Git - python/commitdiff
Fix usage of the default role.
authorZachary Ware <zachary.ware@gmail.com>
Tue, 7 Jul 2015 05:07:25 +0000 (00:07 -0500)
committerZachary Ware <zachary.ware@gmail.com>
Tue, 7 Jul 2015 05:07:25 +0000 (00:07 -0500)
Doc/library/sys.rst
Doc/library/test.rst
Doc/whatsnew/3.5.rst

index 545e6742c13566043e37146420f795a60c91ae3a..bb9bdc86a1381f99b7a759ae638bd04709c2d4be 100644 (file)
@@ -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`.
index 8f2df7c15a7596113906b5ef15da9d54264c791e..f7ad475402ed93d2fe9e5a27a04a78e4c797fe29 100644 (file)
@@ -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 '__'.
index 9713a98f36846407711d75bb3deec4ad574bf691..a6d48598e9c18e7a029fa155aaca857c1b763c56 100644 (file)
@@ -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