diff options
author | Miro HronĨok <miro@hroncok.cz> | 2018-05-17 17:44:53 (GMT) |
---|---|---|
committer | Steve Dower <steve.dower@microsoft.com> | 2018-05-17 17:44:53 (GMT) |
commit | 631753fcc5e88bbbad402933e77295675cfe1fee (patch) | |
tree | ad981e944a5961be34289875a168eff2540a4d22 /Doc/whatsnew | |
parent | d8d715f5148d0c10e93a79bc4172fbd9c5b3a86e (diff) | |
download | cpython-631753fcc5e88bbbad402933e77295675cfe1fee.zip cpython-631753fcc5e88bbbad402933e77295675cfe1fee.tar.gz cpython-631753fcc5e88bbbad402933e77295675cfe1fee.tar.bz2 |
bpo-33559: Document changed repr of exceptions (GH-6943)
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r-- | Doc/whatsnew/3.7.rst | 3 |
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`.) |