]> granicus.if.org Git - python/commitdiff
Fix error message to use the Python name instead of the C name
authorÉric Araujo <merwok@netwok.org>
Tue, 31 May 2011 12:08:40 +0000 (14:08 +0200)
committerÉric Araujo <merwok@netwok.org>
Tue, 31 May 2011 12:08:40 +0000 (14:08 +0200)
Modules/threadmodule.c

index 79e6babcd19dfd4f32a9aa33cae27214f2c62292..4e41085ed9261b5e782823430cb10d25a3044534 100644 (file)
@@ -715,7 +715,7 @@ thread_PyThread_exit_thread(PyObject *self)
 
 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.");