mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
Fix usage of the default role.
This commit is contained in:
parent
4ffc3d4480
commit
3d3aedc8ba
3 changed files with 5 additions and 5 deletions
|
|
@ -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`.
|
||||
|
|
|
|||
|
|
@ -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 '__'.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue