Skip to content

Commit 631753f

Browse files
hroncokzooba
authored andcommitted
bpo-33559: Document changed repr of exceptions (GH-6943)
1 parent d8d715f commit 631753f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Doc/whatsnew/3.7.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1238,6 +1238,9 @@ Changes in the Python API
12381238
:func:`socket.fromshare` a socket :func:`~socket.socket.share`-ed in older
12391239
Python versions.
12401240

1241+
* ``repr`` for :exc:`BaseException` has changed not to include trailing comma
1242+
in the output. Mind that most exceptions are affected by this change.
1243+
12411244
* ``repr`` for :class:`datetime.timedelta` has changed to include keyword arguments
12421245
in the output. (Contributed by Utkarsh Upadhyay in :issue:`30302`.)
12431246

0 commit comments

Comments
 (0)