summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
Diffstat (limited to 'Doc')
-rw-r--r--Doc/whatsnew/3.7.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.7.rst b/Doc/whatsnew/3.7.rst
index cc76273..b22e914 100644
--- a/Doc/whatsnew/3.7.rst
+++ b/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`.)