Home
last modified time | relevance | path

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

/third_party/python/Modules/
H A D_randommodule.c87 PyObject *Random_Type; member
115 class _random.Random "RandomObject *" "_randomstate_type(type)->Random_Type"
534 if ((Py_IS_TYPE(self, (PyTypeObject *)state->Random_Type) || in random_init()
535 Py_TYPE(self)->tp_init == ((PyTypeObject*)state->Random_Type)->tp_init) && in random_init()
589 state->Random_Type = PyType_FromModuleAndSpec( in _random_exec()
591 if (state->Random_Type == NULL) { in _random_exec()
594 if (PyModule_AddType(module, (PyTypeObject *)state->Random_Type) < 0) { in _random_exec()
626 Py_VISIT(get_random_state(module)->Random_Type); in _random_traverse()
633 Py_CLEAR(get_random_state(module)->Random_Type); in _random_clear()

Completed in 2 milliseconds