bpo-33559: Document changed repr of exceptions (GH-6943) (GH-6950)

(cherry picked from commit 631753fcc5)

Co-authored-by: Miro Hrončok <miro@hroncok.cz>
This commit is contained in:
Miss Islington (bot) 2018-05-17 11:41:07 -07:00 committed by Steve Dower
parent d27bc910b5
commit 54fc49737a

View file

@ -1240,6 +1240,9 @@ Changes in the Python API
:func:`socket.fromshare` a socket :func:`~socket.socket.share`-ed in older :func:`socket.fromshare` a socket :func:`~socket.socket.share`-ed in older
Python versions. Python versions.
* ``repr`` for :exc:`BaseException` has changed not to include trailing comma
in the output. Mind that most exceptions are affected by this change.
* ``repr`` for :class:`datetime.timedelta` has changed to include keyword arguments * ``repr`` for :class:`datetime.timedelta` has changed to include keyword arguments
in the output. (Contributed by Utkarsh Upadhyay in :issue:`30302`.) in the output. (Contributed by Utkarsh Upadhyay in :issue:`30302`.)