[Python-checkins] cpython (merge 3.2 -> 3.3): Issue #16682: Replace "Python string" to "bytes object" in audioop
serhiy.storchaka
python-checkins at python.org
Thu Dec 27 19:51:03 CET 2012
http://hg.python.org/cpython/rev/e8248e597060
changeset: 81088:e8248e597060
branch: 3.3
parent: 81084:94a76b49dc69
parent: 81087:cd2b4074a2d9
user: Serhiy Storchaka <storchaka at gmail.com>
date: Thu Dec 27 20:46:19 2012 +0200
summary:
Issue #16682: Replace "Python string" to "bytes object" in audioop documentation.
files:
Doc/library/audioop.rst | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Doc/library/audioop.rst b/Doc/library/audioop.rst
--- a/Doc/library/audioop.rst
+++ b/Doc/library/audioop.rst
@@ -7,7 +7,7 @@
The :mod:`audioop` module contains some useful operations on sound fragments.
It operates on sound fragments consisting of signed integer samples 8, 16 or 32
-bits wide, stored in Python strings. All scalar items are integers, unless
+bits wide, stored in bytes objects. All scalar items are integers, unless
specified otherwise.
.. index::
@@ -126,7 +126,7 @@
.. function:: lin2alaw(fragment, width)
Convert samples in the audio fragment to a-LAW encoding and return this as a
- Python string. a-LAW is an audio encoding format whereby you get a dynamic
+ bytes object. a-LAW is an audio encoding format whereby you get a dynamic
range of about 13 bits using only 8 bit samples. It is used by the Sun audio
hardware, among others.
@@ -151,7 +151,7 @@
.. function:: lin2ulaw(fragment, width)
Convert samples in the audio fragment to u-LAW encoding and return this as a
- Python string. u-LAW is an audio encoding format whereby you get a dynamic
+ bytes object. u-LAW is an audio encoding format whereby you get a dynamic
range of about 14 bits using only 8 bit samples. It is used by the Sun audio
hardware, among others.
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list