Open
Description
The docstring: """Return the resource value for a KEY given as string."""
claims it returns as a string however it returns a _tkinter.Tcl_Obj
which seems to lack __eq__
/the ability to compare it to a string so something like this:
is_normal = radio_button.cget("state") == tk.NORMAL
Will always return false no matter what unless its wrapped in a str()
I propose either clarifying the docstr or returning as a str() wrapped obj but i presume that's a breaking change
Linked PRs
Metadata
Metadata
Assignees
Projects
Status
Todo