summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2020-12-17 13:19:49 (GMT)
committerGitHub <noreply@github.com>2020-12-17 13:19:49 (GMT)
commitcecbaa3a80d5ae28cdd4129d6d2c4395c12a89e4 (patch)
tree3c3ff6fc289869a86b3708b06053f76c7928880c /Python
parent829272e67bbd4b2cc76c01cd20265eb114b392a2 (diff)
downloadcpython-cecbaa3a80d5ae28cdd4129d6d2c4395c12a89e4.zip
cpython-cecbaa3a80d5ae28cdd4129d6d2c4395c12a89e4.tar.gz
cpython-cecbaa3a80d5ae28cdd4129d6d2c4395c12a89e4.tar.bz2
bpo-26564: fix obsolete comment in traceback.c (GH-23819)
(cherry picked from commit 40125ab3252453bf205ed906e46bf9741c27bf9d) Co-authored-by: Irit Katriel <iritkatriel@yahoo.com>
Diffstat (limited to 'Python')
-rw-r--r--Python/traceback.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Python/traceback.c b/Python/traceback.c
index 8e2f15e..0aa51ad 100644
--- a/Python/traceback.c
+++ b/Python/traceback.c
@@ -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. */