aboutsummaryrefslogtreecommitdiffstats
path: root/tests/util/py3xfunctions.py
blob: 1dd5148df2b1d6badb61abad56ba9034e5fc9842 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
def b(s):
    return bytes(s, "UTF8")

def l(n):
    return n

def unicode_(s):
    return s

unicode = str
unichr = chr
long = int
unichr = chr
buffer = b