summaryrefslogtreecommitdiffstats
path: root/Python/pylifecycle.c
diff options
context:
space:
mode:
authorEric Snow <ericsnowcurrently@gmail.com>2019-05-10 17:29:55 (GMT)
committerGitHub <noreply@github.com>2019-05-10 17:29:55 (GMT)
commit86ea58149c3e83f402cecd17e6a536865fb06ce1 (patch)
treea7a26190fcb98d298cc992da4ad9d8f663304bdb /Python/pylifecycle.c
parent351c67416ba4451eb3928fa0b2e933c2f25df1a3 (diff)
downloadcpython-86ea58149c3e83f402cecd17e6a536865fb06ce1.zip
cpython-86ea58149c3e83f402cecd17e6a536865fb06ce1.tar.gz
cpython-86ea58149c3e83f402cecd17e6a536865fb06ce1.tar.bz2
bpo-36737: Use the module state C-API for warnings. (gh-13159)
Diffstat (limited to 'Python/pylifecycle.c')
-rw-r--r--Python/pylifecycle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/pylifecycle.c b/Python/pylifecycle.c
index bd4d1d9..32902aa 100644
--- a/Python/pylifecycle.c
+++ b/Python/pylifecycle.c
@@ -1288,7 +1288,7 @@ Py_FinalizeEx(void)
PyDict_Fini();
PySlice_Fini();
_PyGC_Fini(runtime);
- _PyWarnings_Fini(runtime);
+ _PyWarnings_Fini(interp);
_Py_HashRandomization_Fini();
_PyArg_Fini();
PyAsyncGen_Fini();