diff options
author | Raymond Hettinger <python@rcn.com> | 2015-08-17 22:04:45 -0700 |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2015-08-17 22:04:45 -0700 |
commit | 5b798abf5b56887d8dcde4e9fa82e405ef4b1dd3 (patch) | |
tree | 4bb326ec6a4e0bdac1585d09db97611f905ee29a /Lib/aifc.py | |
parent | 02aa3426d393642999bb4f0e1a3125b9391ca399 (diff) | |
download | cpython-git-5b798abf5b56887d8dcde4e9fa82e405ef4b1dd3.tar.gz |
Issue #24878: Add docstrings to selected namedtuples
Diffstat (limited to 'Lib/aifc.py')
-rw-r--r-- | Lib/aifc.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Lib/aifc.py b/Lib/aifc.py index 7ebdbeb68c..1556b53019 100644 --- a/Lib/aifc.py +++ b/Lib/aifc.py @@ -257,6 +257,14 @@ 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__ = 'Ample 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 ofcompression type +('not compressed' for AIFF files)'""") + class Aifc_read: # Variables used in this class: |