summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d
diff options
context:
space:
mode:
authorPablo Galindo Salgado <Pablogsal@gmail.com>2021-10-16 17:27:43 (GMT)
committerGitHub <noreply@github.com>2021-10-16 17:27:43 (GMT)
commitfe0d9e22a52a10c4cbe52254b51f2d4e74d83568 (patch)
tree164d8d69ef92ef996cf43c4f4ae8ffeafc3980f7 /Misc/NEWS.d
parent5afa0a411243210a30526c7459a0ccff5cb88494 (diff)
downloadcpython-fe0d9e22a52a10c4cbe52254b51f2d4e74d83568.zip
cpython-fe0d9e22a52a10c4cbe52254b51f2d4e74d83568.tar.gz
cpython-fe0d9e22a52a10c4cbe52254b51f2d4e74d83568.tar.bz2
bpo-45249: Fix caret location when end_offset is set to 0 (GH-28855)
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r--Misc/NEWS.d/next/Library/2021-10-10-16-14-33.bpo-45249.xqLliz.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2021-10-10-16-14-33.bpo-45249.xqLliz.rst b/Misc/NEWS.d/next/Library/2021-10-10-16-14-33.bpo-45249.xqLliz.rst
new file mode 100644
index 0000000..1d5a857
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2021-10-10-16-14-33.bpo-45249.xqLliz.rst
@@ -0,0 +1,2 @@
+Fix the behaviour of :func:`traceback.print_exc` when displaying the caret
+when the ``end_offset`` in the exception is set to 0. Patch by Pablo Galindo