code: def all_info_files(self) :
          'Returns a generator of "Path"s'
          try :
              for info_file in list_files_in_dir(self.info_dir):
                  if not os.path.basename(info_file).endswith('.trashinfo') :
                      self.on_non_trashinfo_found()
                  else :
                      yield info_file
          except OSError: # when directory does not exist
              pasf all_info_files(self) :
          'Returns a generator of "Path"s'
          try :
              for info_file in list_files_in_dir(self.info_dir):
                  if not os.path.basename(info_file).endswith('.trashinfo') :
                      self.on_non_trashinfo_found()
                  else :
                      yield info_file
          except OSError: # when directory does not exist
              pass
docs: Returns a generator of "Path"s