summaryrefslogtreecommitdiffstatshomepage
path: root/tests/basics/string_repr.py
blob: b4842e1475f9bf11bf4e01c6372684c7b9307551 (plain) (blame)
1
2
3
4
# anything above 0xa0 is printed as Unicode by CPython
# the abobe is CPython implementation detail, stick to ASCII
for c in range(0x80):
    print("0x{:02x}: {}".format(c, repr(chr(c))))