def __iter__(self):
    'Log undefined __iter___.'
    self._log_message()
    return super().__iter__()
Log undefined __iter___.
def __iter__(self):
    
    self._log_message()
    return super().__iter__()