MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / strtobool

Function strtobool

Lib/distutils/util.py:327–340  ·  view source on GitHub ↗

Convert a string representation of truth to true (1) or false (0). True values are 'y', 'yes', 't', 'true', 'on', and '1'; false values are 'n', 'no', 'f', 'false', 'off', and '0'. Raises ValueError if 'val' is anything else.

(val)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

parse_config_filesMethod · 0.90
_set_command_optionsMethod · 0.90

Calls 1

lowerMethod · 0.45

Tested by

no test coverage detected