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

This commit is contained in:
Miro Hrončok 2018-05-17 19:44:53 +02:00 committed by Steve Dower
parent d8d715f514
commit 631753fcc5
1 changed files with 3 additions and 0 deletions

View File

@ -1238,6 +1238,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`.)