diff options
author | Jeremy Hylton <jeremy@alum.mit.edu> | 2007-08-29 17:26:34 (GMT) |
---|---|---|
committer | Jeremy Hylton <jeremy@alum.mit.edu> | 2007-08-29 17:26:34 (GMT) |
commit | da3f228740772a63ae41f3306a510eb6971dcd54 (patch) | |
tree | 69b9afe22a4b36c9a96b0477a6996d9742818147 /Lib/wave.py | |
parent | c4140a158eb19eeba540fd2ea72e95b97b6b0606 (diff) | |
download | cpython-da3f228740772a63ae41f3306a510eb6971dcd54.zip cpython-da3f228740772a63ae41f3306a510eb6971dcd54.tar.gz cpython-da3f228740772a63ae41f3306a510eb6971dcd54.tar.bz2 |
Convert various string literals to bytes.
Diffstat (limited to 'Lib/wave.py')
-rw-r--r-- | Lib/wave.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/wave.py b/Lib/wave.py index 6627bcf..42bf8bf 100644 --- a/Lib/wave.py +++ b/Lib/wave.py @@ -84,7 +84,7 @@ _array_fmts = None, 'b', 'h', None, 'l' # Determine endian-ness import struct -if struct.pack("h", 1) == "\000\001": +if struct.pack("h", 1) == b"\000\001": big_endian = 1 else: big_endian = 0 |