def make_qstr(t):
    if not is_string_like(t):
        t = str(t)
    if " " in t:
        t = r'"%s"' % t
    return t


# fixture for nose tests
Return the string representation of t.
dataset/ETHPy150Open networkx/networkx/networkx/readwrite/pajek.py/make_qstr