code: def __iter__(self):
      li = self
      while li:
          yield li.first
          li = li.rest
  
imports: from collections.abc import Sequence, Hashable
  from numbers import Integral
  from functools import reduce
  from typing import Generic, TypeVar
label_desc: Use image node_id 8 for calling the _PListBase obj's underlying member method code with example usage: obj.__iter__() without return types