@@ -340,7 +340,7 @@ class Entry(Widget, tkinter.Entry):
340340 exportselection : bool = True ,
341341 font : _FontDescription = "TkTextFont" ,
342342 foreground : str = "" ,
343- invalidcommand : str | list [str ] | tuple [str , ...] | Callable [[], bool ] = "" ,
343+ invalidcommand : str | list [str ] | tuple [str , ...] | Callable [[], object ] = "" ,
344344 justify : Literal ["left" , "center" , "right" ] = "left" ,
345345 name : str = ...,
346346 show : str = "" ,
@@ -364,7 +364,7 @@ class Entry(Widget, tkinter.Entry):
364364 exportselection : bool = ...,
365365 font : _FontDescription = ...,
366366 foreground : str = ...,
367- invalidcommand : str | list [str ] | tuple [str , ...] | Callable [[], bool ] = ...,
367+ invalidcommand : str | list [str ] | tuple [str , ...] | Callable [[], object ] = ...,
368368 justify : Literal ["left" , "center" , "right" ] = ...,
369369 show : str = ...,
370370 state : str = ...,
@@ -390,7 +390,7 @@ class Entry(Widget, tkinter.Entry):
390390 exportselection : bool = ...,
391391 font : _FontDescription = ...,
392392 foreground : str = ...,
393- invalidcommand : str | list [str ] | tuple [str , ...] | Callable [[], bool ] = ...,
393+ invalidcommand : str | list [str ] | tuple [str , ...] | Callable [[], object ] = ...,
394394 justify : Literal ["left" , "center" , "right" ] = ...,
395395 show : str = ...,
396396 state : str = ...,
@@ -421,7 +421,7 @@ class Combobox(Entry):
421421 font : _FontDescription = ..., # undocumented
422422 foreground : str = ..., # undocumented
423423 height : int = 10 ,
424- invalidcommand : str | list [str ] | tuple [str , ...] | Callable [[], bool ] = ..., # undocumented
424+ invalidcommand : str | list [str ] | tuple [str , ...] | Callable [[], object ] = ..., # undocumented
425425 justify : Literal ["left" , "center" , "right" ] = "left" ,
426426 name : str = ...,
427427 postcommand : Callable [[], object ] | str = "" ,
@@ -448,7 +448,7 @@ class Combobox(Entry):
448448 font : _FontDescription = ...,
449449 foreground : str = ...,
450450 height : int = ...,
451- invalidcommand : str | list [str ] | tuple [str , ...] | Callable [[], bool ] = ...,
451+ invalidcommand : str | list [str ] | tuple [str , ...] | Callable [[], object ] = ...,
452452 justify : Literal ["left" , "center" , "right" ] = ...,
453453 postcommand : Callable [[], object ] | str = ...,
454454 show = ...,
@@ -477,7 +477,7 @@ class Combobox(Entry):
477477 font : _FontDescription = ...,
478478 foreground : str = ...,
479479 height : int = ...,
480- invalidcommand : str | list [str ] | tuple [str , ...] | Callable [[], bool ] = ...,
480+ invalidcommand : str | list [str ] | tuple [str , ...] | Callable [[], object ] = ...,
481481 justify : Literal ["left" , "center" , "right" ] = ...,
482482 postcommand : Callable [[], object ] | str = ...,
483483 show = ...,
@@ -1068,7 +1068,7 @@ class Spinbox(Entry):
10681068 format : str = "" ,
10691069 from_ : float = 0 ,
10701070 increment : float = 1 ,
1071- invalidcommand : str | list [str ] | tuple [str , ...] | Callable [[], bool ] = ..., # undocumented
1071+ invalidcommand : str | list [str ] | tuple [str , ...] | Callable [[], object ] = ..., # undocumented
10721072 justify : Literal ["left" , "center" , "right" ] = ..., # undocumented
10731073 name : str = ...,
10741074 show = ..., # undocumented
@@ -1099,7 +1099,7 @@ class Spinbox(Entry):
10991099 format : str = ...,
11001100 from_ : float = ...,
11011101 increment : float = ...,
1102- invalidcommand : str | list [str ] | tuple [str , ...] | Callable [[], bool ] = ...,
1102+ invalidcommand : str | list [str ] | tuple [str , ...] | Callable [[], object ] = ...,
11031103 justify : Literal ["left" , "center" , "right" ] = ...,
11041104 show = ...,
11051105 state : str = ...,
0 commit comments