code: def make_qstr(t):
      """Returns the string representation of t.
      Add outer double-quotes if the string has a space.
      """
      if not isinstance(t, str):
          t = str(t)
      if " " in t:
          t = f'"{t}"'
      return t
  
file_path: networkx/networkx/readwrite/pajek.py
imports: import warnings
  import networkx
  from networkx.utils import open_file
label_desc: Use image node_id 5 for calling a global function with example usage: make_qstr(t) and returns: t