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

Method options

Lib/configparser.py:726–733  ·  view source on GitHub ↗

Return a list of option names for the given section name.

(self, section)

Source from the content-addressed store, hash-verified

724 return section in self._sections
725
726 def options(self, section):
727 """Return a list of option names for the given section name."""
728 try:
729 opts = self._sections[section].copy()
730 except KeyError:
731 raise NoSectionError(section) from None
732 opts.update(self._defaults)
733 return list(opts.keys())
734
735 def read(self, filenames, encoding=None):
736 """Read and parse a filename or an iterable of filenames.

Callers 1

_optionsMethod · 0.45

Calls 5

NoSectionErrorClass · 0.85
listClass · 0.85
copyMethod · 0.45
updateMethod · 0.45
keysMethod · 0.45

Tested by

no test coverage detected