Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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_dict
Method · 0.95
get
Method · 0.95
items
Method · 0.95
has_option
Method · 0.95
set
Method · 0.95
remove_option
Method · 0.95
_handle_option
Method · 0.95
_read_defaults
Method · 0.95
_unify_values
Method · 0.95
_interpolate_some
Method · 0.80
_interpolate_some
Method · 0.80
Calls
1
lower
Method · 0.45
Tested by
no test coverage detected