Lines Matching defs:arg
275 random_seed(RandomObject *self, PyObject *arg)
283 if (arg == NULL || arg == Py_None) {
295 * So: if the arg is a PyLong, use its absolute value.
298 if (PyLong_CheckExact(arg)) {
299 n = PyNumber_Absolute(arg);
300 } else if (PyLong_Check(arg)) {
301 /* Calling int.__abs__() prevents calling arg.__abs__(), which might
304 n = PyObject_CallOneArg(state->Long___abs__, arg);
307 Py_hash_t hash = PyObject_Hash(arg);
531 PyObject *arg = NULL;
546 arg = PyTuple_GET_ITEM(args, 0);
548 return random_seed(self, arg);
624 _random_traverse(PyObject *module, visitproc visit, void *arg)