# HG changeset patch # User Thomas Jollans # Date 1275943674 -7200 # Branch py3k # Node ID 2dee429c3ab4496b8282c4d309f4b2cae31fa55f # Parent 84a122fc7d45dc8f9d1e6355be123d8be1577e90 aifc documentation updated for bytes/str switch diff -r 84a122fc7d45 -r 2dee429c3ab4 Doc/library/aifc.rst --- a/Doc/library/aifc.rst Mon Jun 07 12:51:03 2010 +0200 +++ b/Doc/library/aifc.rst Mon Jun 07 22:47:54 2010 +0200 @@ -76,14 +76,14 @@ Return a bytes array of length 4 describing the type of compression used in the audio file. For AIFF files, the returned value is - ``b'NONE'``. + ``'NONE'``. .. method:: aifc.getcompname() Return a bytes array convertible to a human-readable description of the type of compression used in the audio file. For AIFF files, - the returned value is ``b'not compressed'``. + the returned value is ``'not compressed'``. .. method:: aifc.getparams() @@ -187,7 +187,7 @@ The name parameter should be a human-readable description of the compression type as a bytes array, the type parameter should be a bytes array of length 4. Currently the following compression types - are supported: ``b'NONE'``, ``b'ULAW'``, ``b'ALAW'``, ``b'G722'``. + are supported: ``'NONE'``, ``'ULAW'``, ``'ALAW'``, ``'G722'``. .. method:: aifc.setparams(nchannels, sampwidth, framerate, comptype, compname)