Kaydet (Commit) b363c1f4 authored tarafından Guido van Rossum's avatar Guido van Rossum

Turn an octal constant into a hex constant.

üst 236ddd68
......@@ -92,7 +92,7 @@ else:
fp = open(name)
data = open(name).read(256)
for c in data:
if not c.isspace() and (c<' ' or ord(c) > 0177):
if not c.isspace() and (c<' ' or ord(c) > 0x7f):
break
else:
finfo.Type = 'TEXT'
......
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