]> 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:26 +0000 (14:08 +0200)
committerÉric Araujo <merwok@netwok.org>
Tue, 31 May 2011 12:08:26 +0000 (14:08 +0200)
Modules/_threadmodule.c

index d91c99a4a7a0da7a36ab68b6adc5f7c0b9d37059..ea038defb1c728a2e0c324fcc885b6b4f58a4459 100644 (file)
@@ -1091,7 +1091,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.");