]> 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:49 +0000 (05:19 -0800)
committerGitHub <noreply@github.com>
Thu, 17 Dec 2020 13:19:49 +0000 (05:19 -0800)
(cherry picked from commit 40125ab3252453bf205ed906e46bf9741c27bf9d)

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

index 8e2f15e85d6b5dc462743677243c7ac80d08403c..0aa51ad37f49e279efa65463b22cd86913f3f786 100644 (file)
@@ -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. */