diff Python/sysmodule.c @ 41253:f29f1a8b7869

Patch #1680961: remove sys.exitfunc and replace it with a private C API. Also, reimplement atexit in C so it can take advantage of this private API.
author Collin Winter <collinw@gmail.com>
date Wed, 21 Mar 2007 02:57:17 +0000
parents 04f5cbc74424
children 06145fbc7ab9
line wrap: on
line diff
--- a/Python/sysmodule.c	Wed Mar 21 02:14:12 2007 +0000
+++ b/Python/sysmodule.c	Wed Mar 21 02:57:17 2007 +0000
@@ -897,9 +897,6 @@
   To customize printing in an interactive session or to install a custom\n\
   top-level exception handler, assign other functions to replace these.\n\
 \n\
-exitfunc -- if sys.exitfunc exists, this routine is called when Python exits\n\
-  Assigning to sys.exitfunc is deprecated; use the atexit module instead.\n\
-\n\
 stdin -- standard input file object; used by raw_input() and input()\n\
 stdout -- standard output file object; used by print()\n\
 stderr -- standard error object; used for error messages\n\