diff options
author | R David Murray <rdmurray@bitdance.com> | 2013-07-25 20:12:01 (GMT) |
---|---|---|
committer | R David Murray <rdmurray@bitdance.com> | 2013-07-25 20:12:01 (GMT) |
commit | 4d35e75ca069b51ffdac7b34dad4ffb77e72a598 (patch) | |
tree | 0b5cbaf639fc047ed4fd464371fcef2f8ccdcf13 /Doc | |
parent | 840c310a2577459dd9f6ac9f5f9b136d7f4829f8 (diff) | |
download | cpython-4d35e75ca069b51ffdac7b34dad4ffb77e72a598.zip cpython-4d35e75ca069b51ffdac7b34dad4ffb77e72a598.tar.gz cpython-4d35e75ca069b51ffdac7b34dad4ffb77e72a598.tar.bz2 |
#17818: aifc.getparams now returns a namedtuple.
Patch by Claudiu Popa.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/aifc.rst | 4 | ||||
-rw-r--r-- | Doc/whatsnew/3.4.rst | 6 |
2 files changed, 9 insertions, 1 deletions
diff --git a/Doc/library/aifc.rst b/Doc/library/aifc.rst index f8a6ab7..c1cd215 100644 --- a/Doc/library/aifc.rst +++ b/Doc/library/aifc.rst @@ -96,7 +96,9 @@ following methods: .. method:: aifc.getparams() - Return a tuple consisting of all of the above values in the above order. + Returns a :func:`~collections.namedtuple` ``(nchannels, sampwidth, + framerate, nframes, comptype, compname)``, equivalent to output of the + :meth:`get\*` methods. .. method:: aifc.getmarkers() diff --git a/Doc/whatsnew/3.4.rst b/Doc/whatsnew/3.4.rst index 2b114f1..40b8243 100644 --- a/Doc/whatsnew/3.4.rst +++ b/Doc/whatsnew/3.4.rst @@ -173,6 +173,12 @@ be specified on the command line, and ``-f`` is a shorthand for ``-o FAIL_FAST`` (to parallel the similar option supported by the :mod:`unittest` CLI). (Contributed by R. David Murray in :issue:`11390`.) +aifc +---- + +The :meth:`~aifc.getparams` method now returns a namedtuple rather than a +plain tuple. (Contributed by Claudiu Popa in :issue:`17818`.) + functools --------- |