https://github.com/python/cpython/commit/27246c34829ef87adaafafa10e3f946ade7d0de8
commit: 27246c34829ef87adaafafa10e3f946ade7d0de8
branch: main
author: mdehoon <[email protected]>
committer: serhiy-storchaka <[email protected]>
date: 2026-01-24T17:20:14+02:00
summary:

Remove stray typedef in _tkinter.c (GH-142924)

Co-authored-by: Michiel de Hoon <[email protected]>

files:
M Modules/_tkinter.c

diff --git a/Modules/_tkinter.c b/Modules/_tkinter.c
index e6c0c1ff46ce52..1524d02d9e5a5e 100644
--- a/Modules/_tkinter.c
+++ b/Modules/_tkinter.c
@@ -235,7 +235,6 @@ static PyThread_type_lock tcl_lock = 0;
 
 #ifdef TCL_THREADS
 static Tcl_ThreadDataKey state_key;
-typedef PyThreadState *ThreadSpecificData;
 #define tcl_tstate \
     (*(PyThreadState**)Tcl_GetThreadData(&state_key, sizeof(PyThreadState*)))
 #else

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to