Home
last modified time | relevance | path

Searched refs:metacls (Results 1 – 3 of 3) sorted by relevance

/third_party/python/Lib/
Denum.py166 def __prepare__(metacls, cls, bases, **kwds): argument
168 metacls._check_for_existing_members(cls, bases)
173 member_type, first_enum = metacls._get_mixins_(cls, bases)
180 def __new__(metacls, cls, bases, classdict, **kwds): argument
191 member_type, first_enum = metacls._get_mixins_(cls, bases)
192 __new__, save_new, use_args = metacls._find_new_(
215 enum_class = super().__new__(metacls, cls, bases, classdict, **kwds)
495 metacls = cls.__class__
498 classdict = metacls.__prepare__(class_name, bases)
518 enum_class = metacls.__new__(metacls, class_name, bases, classdict)
/third_party/python/Lib/test/
Dtest_enum.py1205 def __new__(metacls, cls, bases, classdict): argument
1221 return super(auto_enum, metacls).__new__(
1222 metacls, cls, bases, temp)
Dtest_grammar.py467 def __prepare__(metacls, name, bases, **kwds): argument