code: def close(self) -> None:
          
          if self.mmap is not None:
              self.mmap.close()
  
          try:
              os.close(self.fd)
          except OSError:
              pass
docs: Closes the reader.