[Python-checkins] cpython (3.2): Fix error message to use the Python name instead of the C name

eric.araujo python-checkins at python.org
Wed Jun 1 19:47:48 CEST 2011


http://hg.python.org/cpython/rev/26e25dc1354e
changeset:   70581:26e25dc1354e
branch:      3.2
parent:      70506:85f4b38a61fa
user:        Éric Araujo <merwok at netwok.org>
date:        Tue May 31 14:08:26 2011 +0200
summary:
  Fix error message to use the Python name instead of the C name

files:
  Modules/_threadmodule.c |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Modules/_threadmodule.c b/Modules/_threadmodule.c
--- a/Modules/_threadmodule.c
+++ b/Modules/_threadmodule.c
@@ -1091,7 +1091,7 @@
 
 PyDoc_STRVAR(exit_doc,
 "exit()\n\
-(PyThread_exit_thread() is an obsolete synonym)\n\
+(exit_thread() is an obsolete synonym)\n\
 \n\
 This is synonymous to ``raise SystemExit''.  It will cause the current\n\
 thread to exit silently unless the exception is caught.");

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list