]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-26564: fix obsolete comment in traceback.c (GH-23819)
authorIrit Katriel <iritkatriel@yahoo.com>
Thu, 17 Dec 2020 12:33:07 +0000 (12:33 +0000)
committerGitHub <noreply@github.com>
Thu, 17 Dec 2020 12:33:07 +0000 (13:33 +0100)
Python/traceback.c

index 708678facf7c31f5fc50b3ccd7188ed253a6c4a7..b82cfd3665ce1db56ddd4c8ef16a0bb53162cefd 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. */