Lines Matching defs:items
544 def items(self) -> t.Iterable[t.Tuple[t.Any, t.Any]]:
545 """Return a list of items."""
552 return [x[1] for x in self.items()]
562 """Iterate over the keys in the cache dict, oldest items
686 :param items: Each positional argument will be yielded in the order
692 def __init__(self, *items: t.Any) -> None:
693 if not items:
695 self.items = items
707 return self.items[self.pos]
714 self.pos = (self.pos + 1) % len(self.items)