diff options
author | Julien Palard <julien@palard.fr> | 2021-06-29 11:16:53 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-29 11:16:53 (GMT) |
commit | 50148cacfaa79d199b71fec89c2dbe7efbae41ca (patch) | |
tree | 3ee0903655a31ead94d5684d2c4fc7af8ff44587 /Doc/whatsnew | |
parent | 0d7f7975d55eff7e3dfcebd14e765fc6cd7d3e40 (diff) | |
download | cpython-50148cacfaa79d199b71fec89c2dbe7efbae41ca.zip cpython-50148cacfaa79d199b71fec89c2dbe7efbae41ca.tar.gz cpython-50148cacfaa79d199b71fec89c2dbe7efbae41ca.tar.bz2 |
Doc: Remove trailing whitespaces. (GH-26953)
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r-- | Doc/whatsnew/3.11.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/whatsnew/3.11.rst b/Doc/whatsnew/3.11.rst index 0ee4d29..8e3d5f3 100644 --- a/Doc/whatsnew/3.11.rst +++ b/Doc/whatsnew/3.11.rst @@ -76,15 +76,15 @@ Other Language Changes ====================== A :exc:`TypeError` is now raised instead of an :exc:`AttributeError` in -:meth:`contextlib.ExitStack.enter_context` and +:meth:`contextlib.ExitStack.enter_context` and :meth:`contextlib.AsyncExitStack.enter_async_context` for objects which do not support the :term:`context manager` or :term:`asynchronous context manager` protocols correspondingly. (Contributed by Serhiy Storchaka in :issue:`44471`.) -* A :exc:`TypeError` is now raised instead of an :exc:`AttributeError` in +* A :exc:`TypeError` is now raised instead of an :exc:`AttributeError` in :keyword:`with` and :keyword:`async with` statements for objects which do not - support the :term:`context manager` or :term:`asynchronous context manager` + support the :term:`context manager` or :term:`asynchronous context manager` protocols correspondingly. (Contributed by Serhiy Storchaka in :issue:`12022`.) |