Searched refs:currkey (Results 1 – 4 of 4) sorted by relevance
18 PyObject *currkey; member40 gbo->currkey = NULL; in groupby_new()59 Py_XDECREF(gbo->currkey); in groupby_dealloc()70 Py_VISIT(gbo->currkey); in groupby_traverse()82 if (gbo->currkey == NULL) in groupby_next()89 rcmp = PyObject_RichCompareBool(gbo->tgtkey, gbo->currkey, Py_EQ); in groupby_next()111 Py_XSETREF(gbo->currkey, newkey); in groupby_next()115 Py_INCREF(gbo->currkey); in groupby_next()116 Py_XSETREF(gbo->tgtkey, gbo->currkey); in groupby_next()122 r = PyTuple_Pack(2, gbo->currkey, grouper); in groupby_next()[all …]
17 PyObject *currkey; member39 gbo->currkey = NULL; in groupby_new()58 Py_XDECREF(gbo->currkey); in groupby_dealloc()69 Py_VISIT(gbo->currkey); in groupby_traverse()81 if (gbo->currkey == NULL) in groupby_next()89 gbo->currkey, Py_EQ); in groupby_next()112 tmp = gbo->currkey; in groupby_next()113 gbo->currkey = newkey; in groupby_next()121 Py_INCREF(gbo->currkey); in groupby_next()123 gbo->tgtkey = gbo->currkey; in groupby_next()[all …]
326 self.tgtkey = self.currkey = self.currvalue = object()330 while self.currkey == self.tgtkey:332 self.currkey = self.keyfunc(self.currvalue)333 self.tgtkey = self.currkey334 return (self.currkey, self._grouper(self.tgtkey))336 while self.currkey == tgtkey:339 self.currkey = self.keyfunc(self.currvalue)
400 self.tgtkey = self.currkey = self.currvalue = object()404 while self.currkey == self.tgtkey:406 self.currkey = self.keyfunc(self.currvalue)407 self.tgtkey = self.currkey408 return (self.currkey, self._grouper(self.tgtkey))410 while self.currkey == tgtkey:416 self.currkey = self.keyfunc(self.currvalue)