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

vstinner webhook-mailer at python.org
Thu Dec 17 07:33:45 EST 2020

commit: 40125ab3252453bf205ed906e46bf9741c27bf9d
branch: master
author: Irit Katriel <iritkatriel at yahoo.com>
committer: vstinner <vstinner at python.org>
date: 2020-12-17T13:33:07+01:00

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

M Python/traceback.c

diff --git a/Python/traceback.c b/Python/traceback.c
index 708678facf7c3..b82cfd3665ce1 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