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

Method add_section

Lib/ConfigParser.py:253–265  ·  view source on GitHub ↗

Create a new section in the configuration. Raise DuplicateSectionError if a section by the specified name already exists. Raise ValueError if name is DEFAULT or any of it's case-insensitive variants.

(self, section)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

AddSectionMethod · 0.80
SetOptionMethod · 0.80
SaveNewKeySetMethod · 0.80
SaveNewThemeMethod · 0.80

Calls 3

lowerMethod · 0.45
_dictMethod · 0.45

Tested by

no test coverage detected