def as_bytes(string):
    " '<binary literal>' => b'<binary literal>' "
    return string.encode('latin-1', 'strict')
'<binary literal>' => b'<binary literal>'
def as_bytes(string):
    "  "
    return string.encode('latin-1', 'strict')