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

Class auto

Lib/enum.py:165–173  ·  view source on GitHub ↗

Instances are replaced with an appropriate value in Enum class suites.

Source from the content-addressed store, hash-verified

163_auto_null = _auto_null()
164
165class auto:
166 """
167 Instances are replaced with an appropriate value in Enum class suites.
168 """
169 def __init__(self, value=_auto_null):
170 self.value = value
171
172 def __repr__(self):
173 return "auto(%r)" % self.value
174
175class property(DynamicClassAttribute):
176 """

Callers 15

LogPriorityClass · 0.90
_PrecedenceClass · 0.90
HeadlightsKClass · 0.90
HeadlightsCClass · 0.90
MainEnumClass · 0.90
NewStrEnumClass · 0.90
NewFormatEnumClass · 0.90
NewStrFormatEnumClass · 0.90
NewSubEnumClass · 0.90
setUpMethod · 0.90
SeasonClass · 0.90
OtherEnumClass · 0.90

Calls

no outgoing calls

Tested by 2

setUpMethod · 0.72
test_auto_order_weirdMethod · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…