def _bytesChr(i):
    if _PY3:
        return bytes([i])
    else:
        return chr(i)
Like L{chr} but always works on ASCII, returning L{bytes}.
dataset/ETHPy150Open twisted/twisted/twisted/python/compat.py/_bytesChr