diff options
author | Victor Stinner <vstinner@redhat.com> | 2019-01-23 14:04:40 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-23 14:04:40 (GMT) |
commit | ab67281e95de1a88c4379a75a547f19a8ba5ec30 (patch) | |
tree | a3043f7cc6e3f9467169b72d04d61425f0a565e0 /Objects | |
parent | cda73a5af2ff064ca82140342b3158851d43868f (diff) | |
download | cpython-ab67281e95de1a88c4379a75a547f19a8ba5ec30.zip cpython-ab67281e95de1a88c4379a75a547f19a8ba5ec30.tar.gz cpython-ab67281e95de1a88c4379a75a547f19a8ba5ec30.tar.bz2 |
bpo-35713: Reorganize sys module initialization (GH-11658)
* Rename _PySys_BeginInit() to _PySys_InitCore().
* Rename _PySys_EndInit() to _PySys_InitMain().
* Add _PySys_Create(). It calls _PySys_InitCore() which becomes
private.
* Add _PySys_SetPreliminaryStderr().
* Rename _Py_ReadyTypes() to _PyTypes_Init().
* Misc code cleanup.
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/object.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/object.c b/Objects/object.c index 2171d53..044342f 100644 --- a/Objects/object.c +++ b/Objects/object.c @@ -1717,7 +1717,7 @@ PyObject _Py_NotImplementedStruct = { }; _PyInitError -_Py_ReadyTypes(void) +_PyTypes_Init(void) { #define INIT_TYPE(TYPE, NAME) \ do { \ |