From 670e6921349dd408b6958a0c5d3b1486725f9beb Mon Sep 17 00:00:00 2001 From: Collin Winter Date: Wed, 21 Mar 2007 02:57:17 +0000 Subject: 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. --- Python/sysmodule.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'Python/sysmodule.c') diff --git a/Python/sysmodule.c b/Python/sysmodule.c index c7d8593396..d3c90bfcac 100644 --- a/Python/sysmodule.c +++ b/Python/sysmodule.c @@ -897,9 +897,6 @@ excepthook -- called to handle any uncaught exception other than SystemExit\n\ 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\ -- cgit v1.2.1