diff options
author | Christopher Chavez <chrischavez@gmx.us> | 2023-07-26 09:11:50 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-26 09:11:50 (GMT) |
commit | d96ca41688b9c2a8d261c340ae98438ca41796d8 (patch) | |
tree | ef4fe7b43faf453f157a39cb44ce1699ecc568f0 /Modules/_tkinter.c | |
parent | 579100f6d75a27429e7f8de74935d7bc3a3e44e6 (diff) | |
download | cpython-d96ca41688b9c2a8d261c340ae98438ca41796d8.zip cpython-d96ca41688b9c2a8d261c340ae98438ca41796d8.tar.gz cpython-d96ca41688b9c2a8d261c340ae98438ca41796d8.tar.bz2 |
gh-103735: Tkinter: remove handling for uninteresting "procbody" Tcl value type (GH-103736)
Diffstat (limited to 'Modules/_tkinter.c')
-rw-r--r-- | Modules/_tkinter.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Modules/_tkinter.c b/Modules/_tkinter.c index 145a294..406e01c 100644 --- a/Modules/_tkinter.c +++ b/Modules/_tkinter.c @@ -317,7 +317,6 @@ typedef struct { const Tcl_ObjType *WideIntType; const Tcl_ObjType *BignumType; const Tcl_ObjType *ListType; - const Tcl_ObjType *ProcBodyType; const Tcl_ObjType *StringType; } TkappObject; @@ -595,7 +594,6 @@ Tkapp_New(const char *screenName, const char *className, v->WideIntType = Tcl_GetObjType("wideInt"); v->BignumType = Tcl_GetObjType("bignum"); v->ListType = Tcl_GetObjType("list"); - v->ProcBodyType = Tcl_GetObjType("procbody"); v->StringType = Tcl_GetObjType("string"); /* Delete the 'exit' command, which can screw things up */ @@ -1175,10 +1173,6 @@ FromObj(TkappObject *tkapp, Tcl_Obj *value) return result; } - if (value->typePtr == tkapp->ProcBodyType) { - /* fall through: return tcl object. */ - } - if (value->typePtr == tkapp->StringType) { return unicodeFromTclObj(value); } |