summaryrefslogtreecommitdiff
path: root/Python/traceback.c
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2020-12-17 05:19:58 -0800
committerGitHub <noreply@github.com>2020-12-17 05:19:58 -0800
commit1c70d40e94741578ce28b8851fb65372ac2e7942 (patch)
tree70af6842698bb1c3eb73ce97ea4aec3712e39813 /Python/traceback.c
parent8d0a01c99b2a810bfe13d654b294c25a10151aa4 (diff)
downloadcpython-git-1c70d40e94741578ce28b8851fb65372ac2e7942.tar.gz
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/traceback.c')
-rw-r--r--Python/traceback.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Python/traceback.c b/Python/traceback.c
index 99b63af11f..5d3a65cc16 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. */