Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c8bd74d

Browse files
Issue #16682: Replace "Python string" to "bytes object" in audioop documentation.
1 parent 12706f2 commit c8bd74d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Doc/library/audioop.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
The :mod:`audioop` module contains some useful operations on sound fragments.
99
It operates on sound fragments consisting of signed integer samples 8, 16 or 32
10-
bits wide, stored in Python strings. All scalar items are integers, unless
10+
bits wide, stored in bytes objects. All scalar items are integers, unless
1111
specified otherwise.
1212

1313
.. index::
@@ -126,7 +126,7 @@ The module defines the following variables and functions:
126126
.. function:: lin2alaw(fragment, width)
127127

128128
Convert samples in the audio fragment to a-LAW encoding and return this as a
129-
Python string. a-LAW is an audio encoding format whereby you get a dynamic
129+
bytes object. a-LAW is an audio encoding format whereby you get a dynamic
130130
range of about 13 bits using only 8 bit samples. It is used by the Sun audio
131131
hardware, among others.
132132

@@ -151,7 +151,7 @@ The module defines the following variables and functions:
151151
.. function:: lin2ulaw(fragment, width)
152152

153153
Convert samples in the audio fragment to u-LAW encoding and return this as a
154-
Python string. u-LAW is an audio encoding format whereby you get a dynamic
154+
bytes object. u-LAW is an audio encoding format whereby you get a dynamic
155155
range of about 14 bits using only 8 bit samples. It is used by the Sun audio
156156
hardware, among others.
157157

0 commit comments

Comments
 (0)