diff options
| author | Guido van Rossum <guido@python.org> | 2001-08-01 18:17:23 +0000 |
|---|---|---|
| committer | Guido van Rossum <guido@python.org> | 2001-08-01 18:17:23 +0000 |
| commit | b363c1f4455ec2ba875b6ef38d25b5a845dccc84 (patch) | |
| tree | 25a150985baa209f06324f2d7cc74b0b2cd568e9 /Lib/binhex.py | |
| parent | 236ddd6834776371362a652929d2b1fc62cb9e72 (diff) | |
| download | cpython-git-b363c1f4455ec2ba875b6ef38d25b5a845dccc84.tar.gz | |
Turn an octal constant into a hex constant.
Diffstat (limited to 'Lib/binhex.py')
| -rw-r--r-- | Lib/binhex.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/binhex.py b/Lib/binhex.py index 25e534957f..686f8d9a8b 100644 --- a/Lib/binhex.py +++ b/Lib/binhex.py @@ -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' |
