summaryrefslogtreecommitdiffstats
path: root/Lib/aifc.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2015-07-10 19:13:40 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2015-07-10 19:13:40 (GMT)
commite0fd7ef6bb0ddfc36337f434ae6bbfc5c0b60afa (patch)
tree81583787a9de5bb98d01abc532388b21b75faf4f /Lib/aifc.py
parente6ecea53c8394b5101bb3ddab3216a948065ef97 (diff)
downloadcpython-e0fd7ef6bb0ddfc36337f434ae6bbfc5c0b60afa.zip
cpython-e0fd7ef6bb0ddfc36337f434ae6bbfc5c0b60afa.tar.gz
cpython-e0fd7ef6bb0ddfc36337f434ae6bbfc5c0b60afa.tar.bz2
Corrected docstrings of audio modules. writeframes() accepts bytes, not str.
Diffstat (limited to 'Lib/aifc.py')
-rw-r--r--Lib/aifc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/aifc.py b/Lib/aifc.py
index 0b4f85a..7ebdbeb 100644
--- a/Lib/aifc.py
+++ b/Lib/aifc.py
@@ -121,7 +121,7 @@ but when it is set to the correct value, the header does not have to
be patched up.
It is best to first set all parameters, perhaps possibly the
compression type, and then write audio frames using writeframesraw.
-When all frames have been written, either call writeframes('') or
+When all frames have been written, either call writeframes(b'') or
close() to patch up the sizes in the header.
Marks can be added anytime. If there are any marks, you must call
close() after all frames have been written.