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

Method _iter_member_by_def_

Lib/enum.py:1437–1444  ·  view source on GitHub ↗

Extract all members from the value in definition order.

(cls, value)

Source from the content-addressed store, hash-verified

1435
1436 @classmethod
1437 def _iter_member_by_def_(cls, value):
1438 """
1439 Extract all members from the value in definition order.
1440 """
1441 yield from sorted(
1442 cls._iter_member_by_value_(value),
1443 key=lambda m: m._sort_order_,
1444 )
1445
1446 @classmethod
1447 def _missing_(cls, value):

Callers

nothing calls this directly

Calls 2

sortedFunction · 0.85

Tested by

no test coverage detected