diff options
| author | Zachary Ware <zachary.ware@gmail.com> | 2015-07-07 00:07:25 -0500 |
|---|---|---|
| committer | Zachary Ware <zachary.ware@gmail.com> | 2015-07-07 00:07:25 -0500 |
| commit | 3d3aedc8ba2d7e97859b408c8ea3565c68364f0c (patch) | |
| tree | c8a96912d01a03a40ce93064827134348c8ca591 /Doc/library | |
| parent | 4ffc3d44804ae019ed801db48ff674adc53ce0c9 (diff) | |
| download | cpython-git-3d3aedc8ba2d7e97859b408c8ea3565c68364f0c.tar.gz | |
Fix usage of the default role.
Diffstat (limited to 'Doc/library')
| -rw-r--r-- | Doc/library/sys.rst | 2 | ||||
| -rw-r--r-- | Doc/library/test.rst | 6 |
2 files changed, 4 insertions, 4 deletions
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 '__'. |
