MCPcopy Index your code
hub / github.com/RustPython/RustPython / getboolean

Function getboolean

Lib/tkinter/__init__.py:661–666  ·  view source on GitHub ↗

Convert Tcl object to True or False.

(s)

Source from the content-addressed store, hash-verified

659
660
661def getboolean(s):
662 """Convert Tcl object to True or False."""
663 try:
664 return _get_default_root('use getboolean()').tk.getboolean(s)
665 except TclError:
666 raise ValueError("invalid literal for getboolean()")
667
668
669# 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