summaryrefslogtreecommitdiffstats
path: root/Doc/library/ossaudiodev.rst
diff options
context:
space:
mode:
authorHynek Schlawack <hs@ox.cx>2012-05-21 09:01:54 (GMT)
committerHynek Schlawack <hs@ox.cx>2012-05-21 09:01:54 (GMT)
commitdfa465243c94b540099c413eb79b2774b40bb82e (patch)
tree3b67d5600dc9fa2be8843c024259336d73e69b1e /Doc/library/ossaudiodev.rst
parentf54c0604c852c2bf0b4d522cea7d94f205a795e8 (diff)
downloadcpython-dfa465243c94b540099c413eb79b2774b40bb82e.zip
cpython-dfa465243c94b540099c413eb79b2774b40bb82e.tar.gz
cpython-dfa465243c94b540099c413eb79b2774b40bb82e.tar.bz2
#14804: Remove [] around optional arguments with default values
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 0a08428..fbbda26 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*