summaryrefslogtreecommitdiffstats
path: root/Doc/library/wave.rst
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2010-08-28 17:22:16 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2010-08-28 17:22:16 (GMT)
commit64a38c0eb5b7fd6e4ee5f3e912cff9eda8dd19af (patch)
tree457064e7557fbfd0538aba4e2a42d8acbd6f2328 /Doc/library/wave.rst
parenta62074883b7a32f83b13525b01efb619ae478cdf (diff)
downloadcpython-64a38c0eb5b7fd6e4ee5f3e912cff9eda8dd19af.zip
cpython-64a38c0eb5b7fd6e4ee5f3e912cff9eda8dd19af.tar.gz
cpython-64a38c0eb5b7fd6e4ee5f3e912cff9eda8dd19af.tar.bz2
Issue #1512791: In setframerate method of Wave_write, round non-integral
inputs to the nearest integer. Thanks Neil Tallim for the patch.
Diffstat (limited to 'Doc/library/wave.rst')
-rw-r--r--Doc/library/wave.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/library/wave.rst b/Doc/library/wave.rst
index 794559b..a79489c 100644
--- a/Doc/library/wave.rst
+++ b/Doc/library/wave.rst
@@ -157,6 +157,10 @@ Wave_write objects, as returned by :func:`.open`, have the following methods:
Set the frame rate to *n*.
+ .. versionchanged:: 3.2
+ A non-integral input to this method is rounded to the nearest
+ integer.
+
.. method:: Wave_write.setnframes(n)