summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIrit Katriel <iritkatriel@yahoo.com>2020-12-17 12:33:07 (GMT)
committerGitHub <noreply@github.com>2020-12-17 12:33:07 (GMT)
commit40125ab3252453bf205ed906e46bf9741c27bf9d (patch)
tree5eefc9b3ee47c0264a97a1db40c9596fc1e5b1ef
parentba760f3710eccdfae2b680a5f94fe0160ddb1536 (diff)
downloadcpython-40125ab3252453bf205ed906e46bf9741c27bf9d.zip
cpython-40125ab3252453bf205ed906e46bf9741c27bf9d.tar.gz
cpython-40125ab3252453bf205ed906e46bf9741c27bf9d.tar.bz2
bpo-26564: fix obsolete comment in traceback.c (GH-23819)
-rw-r--r--Python/traceback.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Python/traceback.c b/Python/traceback.c
index 708678f..b82cfd3 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. */