summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2012-12-27 18:46:19 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2012-12-27 18:46:19 (GMT)
commite261055eafef6ea40fa5fd1c0b2590b34aaec392 (patch)
tree8bd8e2dfcd335fa0111cccff72b654418b8a6e7b /Doc/library
parent62cf69ec7c8ccfccea3ea98da815d5090ccf2fff (diff)
parentc8bd74ddfd5a41e8f37181bf4ba3c9e37b6d65b1 (diff)
downloadcpython-e261055eafef6ea40fa5fd1c0b2590b34aaec392.zip
cpython-e261055eafef6ea40fa5fd1c0b2590b34aaec392.tar.gz
cpython-e261055eafef6ea40fa5fd1c0b2590b34aaec392.tar.bz2
Issue #16682: Replace "Python string" to "bytes object" in audioop documentation.
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/audioop.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/audioop.rst b/Doc/library/audioop.rst
index 51391ef..c947608 100644
--- 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 @@ The module defines the following variables and functions:
.. 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 @@ The module defines the following variables and functions:
.. 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.