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

Class NoSectionError

Lib/configparser.py:189–195  ·  view source on GitHub ↗

Raised when no section matches a requested option.

Source from the content-addressed store, hash-verified

187
188
189class NoSectionError(Error):
190 """Raised when no section matches a requested option."""
191
192 def __init__(self, section):
193 Error.__init__(self, 'No section: %r' % (section,))
194 self.section = section
195 self.args = (section, )
196
197
198class DuplicateSectionError(Error):

Callers 5

optionsMethod · 0.85
itemsMethod · 0.85
setMethod · 0.85
remove_optionMethod · 0.85
_unify_valuesMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…