Searched refs:classdict (Results 1 – 5 of 5) sorted by relevance
/third_party/python/Lib/ |
D | enum.py | 180 def __new__(metacls, cls, bases, classdict, **kwds): argument 187 classdict.setdefault('_ignore_', []).append('_ignore_') 188 ignore = classdict['_ignore_'] 190 classdict.pop(key, None) 193 classdict, member_type, first_enum, 198 enum_members = {k: classdict[k] for k in classdict._member_names} 199 for name in classdict._member_names: 200 del classdict[name] 203 _order_ = classdict.pop('_order_', None) 212 if '__doc__' not in classdict: [all …]
|
/third_party/python/Lib/test/ |
D | test_pyclbr.py | 69 classdict = oclass.__dict__ 72 if (not isinstance(classdict[name], ClassMethodType) or
|
D | test_enum.py | 1205 def __new__(metacls, cls, bases, classdict): argument 1206 temp = type(classdict)() 1208 names = set(classdict._member_names) 1210 for k in classdict._member_names: 1211 v = classdict[k] 1218 for k, v in classdict.items():
|
/third_party/python/Objects/ |
D | typeobject.c | 4119 PyObject *classdict; in merge_class_dict() local 4127 if (_PyObject_LookupAttrId(aclass, &PyId___dict__, &classdict) < 0) { in merge_class_dict() 4130 if (classdict != NULL) { in merge_class_dict() 4131 int status = PyDict_Update(dict, classdict); in merge_class_dict() 4132 Py_DECREF(classdict); in merge_class_dict()
|
/third_party/python/Tools/clinic/ |
D | clinic.py | 2383 def __init__(cls, name, bases, classdict): argument 3687 def __init__(cls, name, bases, classdict): argument
|