Searched refs:maxlenobj (Results 1 – 2 of 2) sorted by relevance
1081 PyObject *maxlenobj = NULL; in deque_init() local1085 if (!PyArg_ParseTupleAndKeywords(args, kwdargs, "|OO:deque", kwlist, &iterable, &maxlenobj)) in deque_init()1087 if (maxlenobj != NULL && maxlenobj != Py_None) { in deque_init()1088 maxlen = PyInt_AsSsize_t(maxlenobj); in deque_init()
1466 PyObject *maxlenobj = NULL; in deque_init() local1475 maxlenobj = PyTuple_GET_ITEM(args, 1); in deque_init()1479 &iterable, &maxlenobj)) in deque_init()1482 if (maxlenobj != NULL && maxlenobj != Py_None) { in deque_init()1483 maxlen = PyLong_AsSsize_t(maxlenobj); in deque_init()