diff --git a/pep-0492.txt b/pep-0492.txt index 7b9d4b7bd..9890d40c3 100644 --- a/pep-0492.txt +++ b/pep-0492.txt @@ -684,12 +684,12 @@ New Standard Library Functions * ``inspect.isawaitable(obj)`` returns ``True`` if ``obj`` can be used in ``await`` expression. See `Await Expression`_ for details. -* ``sys.set_coroutine_wrapper(wrapper)`` allows to intercept creation - of *coroutine* objects. ``wrapper`` must be a callable that accepts - one argument: a *coroutine* object or ``None``. ``None`` resets the - wrapper. If called twice, the new wrapper replaces the previous one. - The function is thread-specific. See `Debugging Features`_ for more - details. +* ``sys.set_coroutine_wrapper(wrapper)`` allows to intercept creation of + *coroutine* objects. ``wrapper`` must be either a callable that + accepts one argument (a *coroutine* object), or ``None``. ``None`` + resets the wrapper. If called twice, the new wrapper replaces the + previous one. The function is thread-specific. See `Debugging + Features`_ for more details. * ``sys.get_coroutine_wrapper()`` returns the current wrapper object. Returns ``None`` if no wrapper was set. The function is