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

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

commit: cecbaa3a80d5ae28cdd4129d6d2c4395c12a89e4
branch: 3.8
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:49-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 8e2f15e85d6b5..0aa51ad37f49e 100644
--- a/Python/traceback.c
+++ b/Python/traceback.c
@@ -623,7 +623,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