summaryrefslogtreecommitdiff
path: root/Lib/aifc.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2016-03-30 01:15:48 +0200
committerVictor Stinner <victor.stinner@gmail.com>2016-03-30 01:15:48 +0200
commit04408f4cf83e1861f0ac13d7c0286812c3c15f20 (patch)
tree2de6eca4bcb6b4907613a048e089fc478741b477 /Lib/aifc.py
parent6ca07d629af856520ed052fa36acb2c8c14f2741 (diff)
parent7fdf492d322df451e91a322bb014070feeb7a74e (diff)
downloadcpython-04408f4cf83e1861f0ac13d7c0286812c3c15f20.tar.gz
Merge 3.5 (test_unittest)
Diffstat (limited to 'Lib/aifc.py')
-rw-r--r--Lib/aifc.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/Lib/aifc.py b/Lib/aifc.py
index 7ebdbeb68c..692d0bfd27 100644
--- a/Lib/aifc.py
+++ b/Lib/aifc.py
@@ -257,6 +257,15 @@ from collections import namedtuple
_aifc_params = namedtuple('_aifc_params',
'nchannels sampwidth framerate nframes comptype compname')
+_aifc_params.nchannels.__doc__ = 'Number of audio channels (1 for mono, 2 for stereo)'
+_aifc_params.sampwidth.__doc__ = 'Sample width in bytes'
+_aifc_params.framerate.__doc__ = 'Sampling frequency'
+_aifc_params.nframes.__doc__ = 'Number of audio frames'
+_aifc_params.comptype.__doc__ = 'Compression type ("NONE" for AIFF files)'
+_aifc_params.compname.__doc__ = ("""\
+A human-readable version of the compression type
+('not compressed' for AIFF files)""")
+
class Aifc_read:
# Variables used in this class: