]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-26564: fix obsolete comment in traceback.c (GH-23819)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 17 Dec 2020 13:19:58 +0000 (05:19 -0800)
committerGitHub <noreply@github.com>
Thu, 17 Dec 2020 13:19:58 +0000 (05:19 -0800)
(cherry picked from commit 40125ab3252453bf205ed906e46bf9741c27bf9d)

Co-authored-by: Irit Katriel <iritkatriel@yahoo.com>
Python/traceback.c

index 99b63af11f8beec518173d59be570d7944417f20..5d3a65cc160e04a46161c0caa50179c6ba65f65c 100644 (file)
@@ -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. */