summaryrefslogtreecommitdiffstats
path: root/Doc/library/sunau.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2013-09-03 21:43:03 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2013-09-03 21:43:03 (GMT)
commite06a89655a460e7d6571ffea0b72aefef4c0a1cc (patch)
treecebcd54e56cedeba54a399e9abdc48eab401e4d5 /Doc/library/sunau.rst
parent4c6a020a2d1a6d2bee1bbe4e426cbc8f7ca2cf9a (diff)
downloadcpython-e06a89655a460e7d6571ffea0b72aefef4c0a1cc.zip
cpython-e06a89655a460e7d6571ffea0b72aefef4c0a1cc.tar.gz
cpython-e06a89655a460e7d6571ffea0b72aefef4c0a1cc.tar.bz2
Issue #18901: The sunau getparams method now returns a namedtuple rather than
a plain tuple. Patch by Claudiu Popa.
Diffstat (limited to 'Doc/library/sunau.rst')
-rw-r--r--Doc/library/sunau.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/library/sunau.rst b/Doc/library/sunau.rst
index 4bdb99b..eae710d 100644
--- a/Doc/library/sunau.rst
+++ b/Doc/library/sunau.rst
@@ -150,8 +150,9 @@ AU_read objects, as returned by :func:`.open` above, have the following methods:
.. method:: AU_read.getparams()
- Returns a tuple ``(nchannels, sampwidth, framerate, nframes, comptype,
- compname)``, equivalent to output of the :meth:`get\*` methods.
+ Returns a :func:`~collections.namedtuple` ``(nchannels, sampwidth,
+ framerate, nframes, comptype, compname)``, equivalent to output of the
+ :meth:`get\*` methods.
.. method:: AU_read.readframes(n)