Searched refs:WindowsVersionType (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython2/Python/ |
D | sysmodule.c | 570 static PyTypeObject WindowsVersionType = {0, 0, 0, 0, 0, 0}; variable 604 version = PyStructSequence_New(&WindowsVersionType); in sys_getwindowsversion() 1511 if (WindowsVersionType.tp_name == 0) in _PySys_Init() 1512 PyStructSequence_InitType(&WindowsVersionType, &windows_version_desc); in _PySys_Init() 1514 WindowsVersionType.tp_init = NULL; in _PySys_Init() 1515 WindowsVersionType.tp_new = NULL; in _PySys_Init()
|
/external/python/cpython3/Python/ |
D | sysmodule.c | 1043 static PyTypeObject WindowsVersionType = {0, 0, 0, 0, 0, 0}; variable 1090 version = PyStructSequence_New(&WindowsVersionType); in sys_getwindowsversion() 2400 if (WindowsVersionType.tp_name == 0) in _PySys_BeginInit() 2401 if (PyStructSequence_InitType2(&WindowsVersionType, in _PySys_BeginInit() 2406 WindowsVersionType.tp_init = NULL; in _PySys_BeginInit() 2407 WindowsVersionType.tp_new = NULL; in _PySys_BeginInit() 2409 res = PyDict_DelItemString(WindowsVersionType.tp_dict, "__new__"); in _PySys_BeginInit()
|