h2o-py/h2o/utils/compatibility.py
def repr2(x):
    """Analogous to repr(), but will suppress 'u' prefix when repr-ing a unicode string."""
    s = repr(x)
    if len(s) >= 2 and s[0] == "u" and (s[1] == "'" or s[1] == '"'):
        s = s[1:]
    return s
def repr2(x):
    """Analogous to repr(), but will suppress 'u' prefix when repr-ing a unicode string."""
    s = repr(x)
    if len(s) >= 2 and s[0] == "u" and (s[1] == "'" or s[1] == '"'):
        s = s[1:]
    return s
def repr2 ( x ) : s = repr ( x ) if len ( s ) >= 2 and s [ 0 ] == "u" and ( s [ 1 ] == "'" or s [ 1 ] == '"' ) : s = s [ 1 : ] return s
Analogous to repr(), but will suppress 'u' prefix when repr-ing a unicode string.
Analogous to repr () but will suppress u prefix when repr - ing a unicode string .