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

eric.araujo python-checkins at python.org
Wed Jun 1 19:29:58 CEST 2011


http://hg.python.org/cpython/rev/7d3e0a0b0b8f
changeset:   70578:7d3e0a0b0b8f
branch:      2.7
parent:      70509:439396b06416
user:        Éric Araujo <merwok at netwok.org>
date:        Tue May 31 14:08:40 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
@@ -715,7 +715,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