Home
last modified time | relevance | path

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

/external/python/cpython3/Modules/
D_randommodule.c97 PyObject *Random_Type; member
558 if ((Py_IS_TYPE(self, (PyTypeObject *)state->Random_Type) || in random_init()
559 Py_TYPE(self)->tp_init == ((PyTypeObject*)state->Random_Type)->tp_init) && in random_init()
613 state->Random_Type = PyType_FromModuleAndSpec( in _random_exec()
615 if (state->Random_Type == NULL) { in _random_exec()
618 if (PyModule_AddType(module, (PyTypeObject *)state->Random_Type) < 0) { in _random_exec()
652 Py_VISIT(get_random_state(module)->Random_Type); in _random_traverse()
659 Py_CLEAR(get_random_state(module)->Random_Type); in _random_clear()