summaryrefslogtreecommitdiffstats
path: root/Modules/_tkinter.c
diff options
context:
space:
mode:
authorOleg Iarygin <oleg@arhadthedev.net>2022-03-14 16:04:22 (GMT)
committerGitHub <noreply@github.com>2022-03-14 16:04:22 (GMT)
commit13b041222399152acb555337572bd1d571734984 (patch)
treec115a3b2e7a83f21679bf098e7adf6a8e450ea7c /Modules/_tkinter.c
parenta52f82baf246e2fbbc58fe03ef7a51f3cc9514e1 (diff)
downloadcpython-13b041222399152acb555337572bd1d571734984.zip
cpython-13b041222399152acb555337572bd1d571734984.tar.gz
cpython-13b041222399152acb555337572bd1d571734984.tar.bz2
bpo-46920: Remove code that has explainers why it was disabled (GH-31813)
Diffstat (limited to 'Modules/_tkinter.c')
-rw-r--r--Modules/_tkinter.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/Modules/_tkinter.c b/Modules/_tkinter.c
index cbef9ce..cd167fd 100644
--- a/Modules/_tkinter.c
+++ b/Modules/_tkinter.c
@@ -3440,11 +3440,5 @@ PyInit__tkinter(void)
return NULL;
}
-#if 0
- /* This was not a good idea; through <Destroy> bindings,
- Tcl_Finalize() may invoke Python code but at that point the
- interpreter and thread state have already been destroyed! */
- Py_AtExit(Tcl_Finalize);
-#endif
return m;
}