[Python-checkins] bpo-26564: fix obsolete comment in traceback.c (GH-23819)

miss-islington webhook-mailer at python.org
Thu Dec 17 08:20:07 EST 2020

commit: 1c70d40e94741578ce28b8851fb65372ac2e7942
branch: 3.9
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2020-12-17T05:19:58-08:00

bpo-26564: fix obsolete comment in traceback.c (GH-23819)

(cherry picked from commit 40125ab3252453bf205ed906e46bf9741c27bf9d)

Co-authored-by: Irit Katriel <iritkatriel at yahoo.com>

M Python/traceback.c

diff --git a/Python/traceback.c b/Python/traceback.c
index 99b63af11f8be..5d3a65cc160e0 100644
--- a/Python/traceback.c
+++ b/Python/traceback.c
@@ -622,7 +622,8 @@ PyTraceBack_Print(PyObject *v, PyObject *f)
     return err;
-/* Reverse a string. For example, "abcd" becomes "dcba".
+/* Format an integer in range [0; 0xffffffff] to decimal and write it
+   into the file fd.
    This function is signal safe. */

More information about the Python-checkins mailing list