@classmethod
def from_codepoint(cls, code_point):
    """
        Create a Literal matching the specified unicode code point. In
        interpreters using UTF-16 as their string representation (< 3.3)
        this will create (and match) surrogate pairs for code points above the
        BMP.
        """
    return cls('\\U{0:08X}'.format(code_point).encode('ascii').decode(
        'unicode_escape'))
