code: def stat(self, entry_path, dir_fd=None, follow_symlinks=None):
          
          if follow_symlinks is None:
              follow_symlinks = True
          elif sys.version_info < (3, 3):
              raise TypeError(
                  "stat() got an unexpected keyword argument 'follow_symlinks'")
          entry_path = self._path_with_dir_fd(entry_path, self.stat, dir_fd)
          return self.filesystem.stat(entry_path, follow_symlinks)
docs: Return the os.stat-like tuple for the FakeFile object of entry_path.
  
          Args:
              entry_path:  path to filesystem object to retrieve.
              dir_fd: (int) If not `None`, the file descriptor of a directory,
                  with `entry_path` being relative to this directory.
                  New in Python 3.3.
              follow_symlinks: (bool) If `False` and `entry_path` points to a
                  symlink, the link itself is changed instead of the linked
                  object.
                  New in Python 3.3.
  
          Returns:
              The FakeStatResult object corresponding to entry_path.
  
          Raises:
              OSError: if the filesystem object doesn't exist.