MCPcopy Index your code
hub / github.com/python/cpython / getboolean

Function getboolean

Lib/tkinter/__init__.py:679–684  ·  view source on GitHub ↗

Convert Tcl object to True or False.

(s)

Source from the content-addressed store, hash-verified

677
678
679def getboolean(s):
680 """Convert Tcl object to True or False."""
681 try:
682 return _get_default_root('use getboolean()').tk.getboolean(s)
683 except TclError:
684 raise ValueError("invalid literal for getboolean()")
685
686
687# 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

Used in the wild real call sites across dependent graphs

searching dependent graphs…