Commit a5dc3db3 authored by Jeremy Hylton's avatar Jeremy Hylton

Change string literals to bytes, since they are compared to bytes.

parent e3e3701f
......@@ -503,9 +503,9 @@ def read_decimalnl_short(f):
# It's not necessarily true that the result fits in a Python short int:
# the pickle may have been written on a 64-bit box. There's also a hack
# for True and False here.
if s == "00":
if s == b"00":
return False
elif s == "01":
elif s == b"01":
return True
try:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment