def METHOD_NAME(c):
    """
    Convert a character into a Python unicode literal (e.g. \u0064).
    """
    codepoint = ord(c)
    if codepoint < 65536:
        return "\\u{:04x}".format(codepoint)
    else:
        return "\\U{:08x}".format(codepoint)