Serhiy Storchaka added the comment: The documentation says:
""" When these functions are able to determine what type of sound data is stored in a file, they return a :func:`~collections.namedtuple`, containing five attributes: (``type``, ``sampling_rate``, ``channels``, ``frames``, ``bits_per_sample``). """ But actual attributes of returned namedtuple are filetype, framerate, nchannels, nframes and sampwidth. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18615> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com