async def corofunc(**local_args):
            nonlocal called
            assert local_args == args
            called += 1
def clear(self):
    for unused_ in range(len(self._items)):
      self.remove_item(self._items[0])