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()
1488 PyObject *maxlenobj = NULL; in deque_init() local1497 maxlenobj = PyTuple_GET_ITEM(args, 1); in deque_init()1501 &iterable, &maxlenobj)) in deque_init()1504 if (maxlenobj != NULL && maxlenobj != Py_None) { in deque_init()1505 maxlen = PyLong_AsSsize_t(maxlenobj); in deque_init()