Skip to content

Commit 54fc497

Browse files
miss-islingtonhroncok
authored andcommitted
bpo-33559: Document changed repr of exceptions (GH-6943) (GH-6950)
(cherry picked from commit 631753f) Co-authored-by: Miro Hrončok <[email protected]>
1 parent d27bc91 commit 54fc497

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
@@ -1240,6 +1240,9 @@ Changes in the Python API
12401240
:func:`socket.fromshare` a socket :func:`~socket.socket.share`-ed in older
12411241
Python versions.
12421242

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

0 commit comments

Comments
 (0)