Home
last modified time | relevance | path

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

/external/python/cpython3/Modules/
D_randommodule.c88 static PyTypeObject Random_Type; variable
90 #define RandomObject_Check(v) (Py_TYPE(v) == &Random_Type)
440 if (type == &Random_Type && !_PyArg_NoKeywords("Random", kwds)) in random_new()
473 static PyTypeObject Random_Type = { variable
538 if (PyType_Ready(&Random_Type) < 0) in PyInit__random()
543 Py_INCREF(&Random_Type); in PyInit__random()
544 PyModule_AddObject(m, "Random", (PyObject *)&Random_Type); in PyInit__random()
/external/python/cpython2/Modules/
D_randommodule.c85 static PyTypeObject Random_Type; variable
87 #define RandomObject_Check(v) (Py_TYPE(v) == &Random_Type)
513 if (type == &Random_Type && !_PyArg_NoKeywords("Random()", kwds)) in random_new()
549 static PyTypeObject Random_Type = { variable
601 if (PyType_Ready(&Random_Type) < 0) in init_random()
606 Py_INCREF(&Random_Type); in init_random()
607 PyModule_AddObject(m, "Random", (PyObject *)&Random_Type); in init_random()