Skip to content
Permalink
Browse files

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

  • Loading branch information
hroncok authored and zooba committed May 17, 2018
1 parent d8d715f commit 631753fcc5e88bbbad402933e77295675cfe1fee
Showing with 3 additions and 0 deletions.
  1. +3 −0 Doc/whatsnew/3.7.rst
@@ -1238,6 +1238,9 @@ Changes in the Python API
:func:`socket.fromshare` a socket :func:`~socket.socket.share`-ed in older
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
in the output. (Contributed by Utkarsh Upadhyay in :issue:`30302`.)

0 comments on commit 631753f

Please sign in to comment.
You can’t perform that action at this time.