Files
typeshed/stdlib/3
Akuli e9ecea0033 Add options to tkinter widgets (#4363)
In tkinter, `widget['foo'] = bar` and `widget.config(foo=bar)` do the same thing, but they will now type-check differently: the `widget['foo'] = bar` syntax allows 'foo' to be any string (e.g. a variable, not necessarily a Literal) and bar to be any object, while `widget.config(foo=bar)` checks the existence of the option and the type of bar. Similarly, cget takes a Literal argument but __getitem__ takes a string. 

Testing script can still be found at https://github.com/python/typeshed/pull/4363/commits/c42a72c53e552ab501455def07017181f0158e80
2020-08-17 13:59:51 -07:00
..
2020-06-28 13:31:00 -07:00
2020-06-28 13:31:00 -07:00
2020-06-28 13:31:00 -07:00
2020-06-28 13:31:00 -07:00
2020-06-29 00:00:21 -07:00
2020-06-28 13:31:00 -07:00
2020-06-28 13:31:00 -07:00
2020-06-28 13:31:00 -07:00
2020-06-29 00:00:21 -07:00
2017-04-30 14:16:30 -07:00
2020-06-28 13:31:00 -07:00
2020-06-28 13:31:00 -07:00
2020-06-28 13:31:00 -07:00
2020-06-28 13:31:00 -07:00
2020-06-28 13:31:00 -07:00
2019-07-27 10:58:21 +02:00
2020-06-28 13:31:00 -07:00