def render_literal(obj):
    if isinstance(obj, str):
        return '"%s"' % obj
    else:
        return repr(obj)
Render obj as a literal expression in C.
dataset/ETHPy150Open tomerfiliba/srcgen/srcgen/c.py/render_literal