Searched refs:maxlenobj (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython2/Modules/ |
D | _collectionsmodule.c | 1081 PyObject *maxlenobj = NULL; in deque_init() local 1085 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()
|
/external/python/cpython3/Modules/ |
D | _collectionsmodule.c | 1488 PyObject *maxlenobj = NULL; in deque_init() local 1493 if (!PyArg_UnpackTuple(args, "deque()", 0, 2, &iterable, &maxlenobj)) in deque_init() 1497 &iterable, &maxlenobj)) in deque_init() 1500 if (maxlenobj != NULL && maxlenobj != Py_None) { in deque_init() 1501 maxlen = PyLong_AsSsize_t(maxlenobj); in deque_init()
|