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

Method optionxform

Lib/configparser.py:923–924  ·  view source on GitHub ↗
(self, optionstr)

Source from the content-addressed store, hash-verified

921 raise KeyError
922
923 def optionxform(self, optionstr):
924 return optionstr.lower()
925
926 def has_option(self, section, option):
927 """Check for the existence of a given option in a given section.

Callers 11

read_dictMethod · 0.95
getMethod · 0.95
itemsMethod · 0.95
has_optionMethod · 0.95
setMethod · 0.95
remove_optionMethod · 0.95
_handle_optionMethod · 0.95
_read_defaultsMethod · 0.95
_unify_valuesMethod · 0.95
_interpolate_someMethod · 0.80
_interpolate_someMethod · 0.80

Calls 1

lowerMethod · 0.45

Tested by

no test coverage detected