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

Method __init__

Lib/enum.py:335–341  ·  view source on GitHub ↗
(self, cls_name=None)

Source from the content-addressed store, hash-verified

333 enumeration member names.
334 """
335 def __init__(self, cls_name=None):
336 super().__init__()
337 self._member_names = {} # use a dict -- faster look-up than a list, and keeps insertion order since 3.7
338 self._last_values = []
339 self._ignore = []
340 self._auto_called = False
341 self._cls_name = cls_name
342
343 def __setitem__(self, key, value):
344 """

Callers

nothing calls this directly

Calls 2

superClass · 0.85
__init__Method · 0.45

Tested by

no test coverage detected