Commit c8bd74dd authored by Serhiy Storchaka's avatar Serhiy Storchaka

Issue #16682: Replace "Python string" to "bytes object" in audioop documentation.

parent 12706f20
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
The :mod:`audioop` module contains some useful operations on sound fragments. 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 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. specified otherwise.
.. index:: .. index::
...@@ -126,7 +126,7 @@ The module defines the following variables and functions: ...@@ -126,7 +126,7 @@ The module defines the following variables and functions:
.. function:: lin2alaw(fragment, width) .. function:: lin2alaw(fragment, width)
Convert samples in the audio fragment to a-LAW encoding and return this as a 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 range of about 13 bits using only 8 bit samples. It is used by the Sun audio
hardware, among others. hardware, among others.
...@@ -151,7 +151,7 @@ The module defines the following variables and functions: ...@@ -151,7 +151,7 @@ The module defines the following variables and functions:
.. function:: lin2ulaw(fragment, width) .. function:: lin2ulaw(fragment, width)
Convert samples in the audio fragment to u-LAW encoding and return this as a 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 range of about 14 bits using only 8 bit samples. It is used by the Sun audio
hardware, among others. hardware, among others.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment