mirror of https://github.com/python/cpython
Doc: Remove trailing whitespaces. (GH-26953)
This commit is contained in:
parent
0d7f7975d5
commit
50148cacfa
|
@ -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`.)
|
||||
|
||||
|
|
Loading…
Reference in New Issue