MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / getboolean

Function getboolean

tools/python-3.11.9-amd64/Lib/tkinter/__init__.py:658–663  ·  view source on GitHub ↗

Convert Tcl object to True or False.

(s)

Source from the content-addressed store, hash-verified

656
657
658def getboolean(s):
659 """Convert Tcl object to True or False."""
660 try:
661 return _get_default_root('use getboolean()').tk.getboolean(s)
662 except TclError:
663 raise ValueError("invalid literal for getboolean()")
664
665
666# Methods defined on both toplevel and interior widgets

Callers 1

_substituteMethod · 0.85

Calls 2

_get_default_rootFunction · 0.85
getbooleanMethod · 0.45

Tested by

no test coverage detected