summaryrefslogtreecommitdiffstats
path: root/Lib/sunau.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2010-06-07 20:24:48 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2010-06-07 20:24:48 (GMT)
commitd67cb78f18afb4663aed99951754cb87128bb276 (patch)
tree116fadd32f4cd392866a6c728e86768029ebe57c /Lib/sunau.py
parent8343e3d872f193fd18d0a7b1c7b75b0c9855e4e8 (diff)
downloadcpython-d67cb78f18afb4663aed99951754cb87128bb276.zip
cpython-d67cb78f18afb4663aed99951754cb87128bb276.tar.gz
cpython-d67cb78f18afb4663aed99951754cb87128bb276.tar.bz2
Merged revisions 81809 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r81809 | victor.stinner | 2010-06-07 22:14:04 +0200 (lun., 07 juin 2010) | 3 lines Issue #8897: Fix sunau module, use bytes to write the header. Patch written by Thomas Jollans. ........
Diffstat (limited to 'Lib/sunau.py')
-rw-r--r--Lib/sunau.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/sunau.py b/Lib/sunau.py
index 4d07f43..5f50e8f 100644
--- a/Lib/sunau.py
+++ b/Lib/sunau.py
@@ -299,7 +299,7 @@ class Au_write:
self._nframeswritten = 0
self._datawritten = 0
self._datalength = 0
- self._info = ''
+ self._info = b''
self._comptype = 'ULAW' # default is U-law
def setnchannels(self, nchannels):