mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Issue #1512791: In setframerate method of Wave_write, round non-integral
inputs to the nearest integer. Thanks Neil Tallim for the patch.
This commit is contained in:
parent
a62074883b
commit
64a38c0eb5
5 changed files with 21 additions and 3 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue