parameters: (filepath)
return_statement: return filepath
docstring: In case filepath is a symlink, follow it until a
          real file is reached.
docstring_summary: In case filepath is a symlink, follow it until a
          real file is reached.
docstring_tokens: In case filepath is a symlink follow it until a real file is reached .
function: def _follow_symlinks(filepath):
  
      """ In case filepath is a symlink, follow it until a
          real file is reached.
      """
      filepath = _abspath(filepath)
      while os.path.islink(filepath):
          filepath = os.path.normpath(
              os.path.join(os.path.dirname(filepath),os.readlink(filepath)))
      return filepath
function_tokens: def _follow_symlinks ( filepath ) : filepath = _abspath ( filepath ) while os . path . islink ( filepath ) : filepath = os . path . normpath ( os . path . join ( os . path . dirname ( filepath ) , os . readlink ( filepath ) ) ) return filepath