summaryrefslogtreecommitdiffstats
path: root/Doc/library/ossaudiodev.rst
diff options
context:
space:
mode:
authorHynek Schlawack <hs@ox.cx>2012-05-22 14:14:56 (GMT)
committerHynek Schlawack <hs@ox.cx>2012-05-22 14:14:56 (GMT)
commitf0bf135cd14fe2abe212d2220af811b42ad75a57 (patch)
tree2a0ec8a42c1a29865d21929937df9c97d707d389 /Doc/library/ossaudiodev.rst
parent161ea6a349d7b6720a19708aeceec98ae03770d1 (diff)
parent979f37afd2b7ccd77f2d43e68a1d596befa58bcd (diff)
downloadcpython-f0bf135cd14fe2abe212d2220af811b42ad75a57.zip
cpython-f0bf135cd14fe2abe212d2220af811b42ad75a57.tar.gz
cpython-f0bf135cd14fe2abe212d2220af811b42ad75a57.tar.bz2
Restore [] where default arguments are not keywords
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 d9e3eae..9e5bec9 100644
--- a/Doc/library/ossaudiodev.rst
+++ b/Doc/library/ossaudiodev.rst
@@ -281,7 +281,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*