summaryrefslogtreecommitdiffstats
path: root/Doc/library/ossaudiodev.rst
diff options
context:
space:
mode:
authorHynek Schlawack <hs@ox.cx>2012-05-22 14:12:18 (GMT)
committerHynek Schlawack <hs@ox.cx>2012-05-22 14:12:18 (GMT)
commit979f37afd2b7ccd77f2d43e68a1d596befa58bcd (patch)
tree4251f1ee844af4737da19393dbbc3189a8535b9a /Doc/library/ossaudiodev.rst
parent898d51da4d2db44d71809ee84089877f5c08f3fd (diff)
downloadcpython-979f37afd2b7ccd77f2d43e68a1d596befa58bcd.zip
cpython-979f37afd2b7ccd77f2d43e68a1d596befa58bcd.tar.gz
cpython-979f37afd2b7ccd77f2d43e68a1d596befa58bcd.tar.bz2
Restore [] where default arguments are not keywords
Reverts some changes of d13fdd97cc8e.
Diffstat (limited to 'Doc/library/ossaudiodev.rst')
-rw-r--r--Doc/library/ossaudiodev.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/ossaudiodev.rst b/Doc/library/ossaudiodev.rst
index fbbda26..cf302cc 100644
--- a/Doc/library/ossaudiodev.rst
+++ b/Doc/library/ossaudiodev.rst
@@ -277,7 +277,7 @@ The following convenience methods combine several ioctls, or one ioctl and some
simple calculations.
-.. method:: oss_audio_device.setparameters(format, nchannels, samplerate, strict=False)
+.. method:: oss_audio_device.setparameters(format, nchannels, samplerate[, strict=False])
Set the key audio sampling parameters---sample format, number of channels, and
sampling rate---in one method call. *format*, *nchannels*, and *samplerate*