Home
last modified time | relevance | path

Searched refs:FlagsType (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Python/
Dsysmodule.c1206 static PyTypeObject FlagsType = {0, 0, 0, 0, 0, 0}; variable
1250 seq = PyStructSequence_New(&FlagsType); in make_flags()
1501 if (FlagsType.tp_name == 0) in _PySys_Init()
1502 PyStructSequence_InitType(&FlagsType, &flags_desc); in _PySys_Init()
1505 FlagsType.tp_init = NULL; in _PySys_Init()
1506 FlagsType.tp_new = NULL; in _PySys_Init()
/external/python/cpython3/Python/
Dsysmodule.c1666 static PyTypeObject FlagsType; variable
1700 seq = PyStructSequence_New(&FlagsType); in make_flags()
2033 if (FlagsType.tp_name == 0) { in _PySys_Init()
2034 if (PyStructSequence_InitType2(&FlagsType, &flags_desc) < 0) in _PySys_Init()
2039 FlagsType.tp_init = NULL; in _PySys_Init()
2040 FlagsType.tp_new = NULL; in _PySys_Init()
2041 res = PyDict_DelItemString(FlagsType.tp_dict, "__new__"); in _PySys_Init()