MCPcopy Index your code
hub / github.com/RustPython/RustPython / __iter__

Method __iter__

Lib/configparser.py:1048–1050  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1046 return len(self._sections) + 1 # the default section
1047
1048 def __iter__(self):
1049 # XXX does it break when underlying container state changed?
1050 return itertools.chain((self.default_section,), self._sections.keys())
1051
1052 def _read(self, fp, fpname):
1053 """Parse a sectioned configuration file.

Callers

nothing calls this directly

Calls 2

chainMethod · 0.80
keysMethod · 0.45

Tested by

no test coverage detected