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

/external/python/cpython2/Modules/
H A D_randommodule.c85 static PyTypeObject Random_Type; variable
87 #define RandomObject_Check(v) (Py_TYPE(v) == &Random_Type)
504 if (type == &Random_Type && !_PyArg_NoKeywords("Random()", kwds))
540 static PyTypeObject Random_Type = { variable
592 if (PyType_Ready(&Random_Type) < 0)
597 Py_INCREF(&Random_Type);
598 PyModule_AddObject(m, "Random", (PyObject *)&Random_Type);
/external/python/cpython3/Modules/
H A D_randommodule.c88 static PyTypeObject Random_Type; variable
90 #define RandomObject_Check(v) (Py_TYPE(v) == &Random_Type)
436 if (type == &Random_Type && !_PyArg_NoKeywords("Random()", kwds))
469 static PyTypeObject Random_Type = { variable
534 if (PyType_Ready(&Random_Type) < 0)
539 Py_INCREF(&Random_Type);
540 PyModule_AddObject(m, "Random", (PyObject *)&Random_Type);

Completed in 89 milliseconds