diff options
author | Barry Warsaw <barry@python.org> | 2000-05-25 23:05:36 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 2000-05-25 23:05:36 (GMT) |
commit | c094ac856f7031eae727fa200241da0c88d29951 (patch) | |
tree | 1a6cce8c2917d020e1df4f5b1a96e700dc91f960 /Include | |
parent | fe55e86a0a2e678f7f325f15c4607b56e80ebe61 (diff) | |
download | cpython-c094ac856f7031eae727fa200241da0c88d29951.zip cpython-c094ac856f7031eae727fa200241da0c88d29951.tar.gz cpython-c094ac856f7031eae727fa200241da0c88d29951.tar.bz2 |
Now that standard exceptions are builtin, we don't need two phase init
or fini of the builtin module.
_PyBuiltin_Init_1 => _PyBuiltin_Init
_PyBuiltin_Init_2 removed
_PyBuiltin_Fini_1 removed
_PyBuiltin_Fini_2 removed
These functions are used to initialize the _exceptions module.
init_exceptions added
fini_exceptions added
Diffstat (limited to 'Include')
-rw-r--r-- | Include/pythonrun.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/Include/pythonrun.h b/Include/pythonrun.h index 2c1df07..2648d1c 100644 --- a/Include/pythonrun.h +++ b/Include/pythonrun.h @@ -87,16 +87,13 @@ DL_IMPORT(const char *) Py_GetCompiler Py_PROTO((void)); DL_IMPORT(const char *) Py_GetBuildInfo Py_PROTO((void)); /* Internal -- various one-time initializations */ - -DL_IMPORT(PyObject *) _PyBuiltin_Init_1 Py_PROTO((void)); -DL_IMPORT(void) _PyBuiltin_Init_2 Py_PROTO((PyObject *)); +DL_IMPORT(PyObject *) _PyBuiltin_Init Py_PROTO((void)); DL_IMPORT(PyObject *) _PySys_Init Py_PROTO((void)); DL_IMPORT(void) _PyImport_Init Py_PROTO((void)); +DL_IMPORT(void) init_exceptions Py_PROTO((void)); /* Various internal finalizers */ -DL_IMPORT(void) _PyImport_Fini Py_PROTO((void)); -DL_IMPORT(void) _PyBuiltin_Fini_1 Py_PROTO((void)); -DL_IMPORT(void) _PyBuiltin_Fini_2 Py_PROTO((void)); +DL_IMPORT(void) fini_exceptions Py_PROTO((void)); DL_IMPORT(void) PyMethod_Fini Py_PROTO((void)); DL_IMPORT(void) PyFrame_Fini Py_PROTO((void)); DL_IMPORT(void) PyCFunction_Fini Py_PROTO((void)); |