summaryrefslogtreecommitdiffstats
path: root/Python/pylifecycle.c
diff options
context:
space:
mode:
authorEric Snow <ericsnowcurrently@gmail.com>2022-02-28 22:15:48 (GMT)
committerGitHub <noreply@github.com>2022-02-28 22:15:48 (GMT)
commit08deed1af56bec8668c6cb4d5cfd89e393e1fe5e (patch)
tree6b556457a1065c75841b6d7d59483494590e32f1 /Python/pylifecycle.c
parentd5b7bba43b7d9559e9894d263ece337084dc4b8d (diff)
downloadcpython-08deed1af56bec8668c6cb4d5cfd89e393e1fe5e.zip
cpython-08deed1af56bec8668c6cb4d5cfd89e393e1fe5e.tar.gz
cpython-08deed1af56bec8668c6cb4d5cfd89e393e1fe5e.tar.bz2
bpo-46753: Add the empty tuple to the _PyRuntimeState.global_objects. (gh-31345)
https://bugs.python.org/issue46753
Diffstat (limited to 'Python/pylifecycle.c')
-rw-r--r--Python/pylifecycle.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/Python/pylifecycle.c b/Python/pylifecycle.c
index 6153474..9228778 100644
--- a/Python/pylifecycle.c
+++ b/Python/pylifecycle.c
@@ -682,11 +682,6 @@ pycore_init_global_objects(PyInterpreterState *interp)
_PyUnicode_InitState(interp);
- status = _PyTuple_InitGlobalObjects(interp);
- if (_PyStatus_EXCEPTION(status)) {
- return status;
- }
-
return _PyStatus_OK();
}