[Python-checkins] r67957 - python/trunk/Doc/library/winsound.rst

georg.brandl python-checkins at python.org
Sat Dec 27 19:49:19 CET 2008


Author: georg.brandl
Date: Sat Dec 27 19:49:19 2008
New Revision: 67957
Log:
#4754: improve winsound documentation.
Modified:
 python/trunk/Doc/library/winsound.rst
Modified: python/trunk/Doc/library/winsound.rst
==============================================================================
--- python/trunk/Doc/library/winsound.rst	(original)
+++ python/trunk/Doc/library/winsound.rst	Sat Dec 27 19:49:19 2008
@@ -30,8 +30,9 @@
 Call the underlying :cfunc:`PlaySound` function from the Platform API. The
 *sound* parameter may be a filename, audio data as a string, or ``None``. Its
 interpretation depends on the value of *flags*, which can be a bitwise ORed
- combination of the constants described below. If the system indicates an error,
- :exc:`RuntimeError` is raised.
+ combination of the constants described below. If the *sound* parameter is
+ ``None``, any currently playing waveform sound is stopped. If the system
+ indicates an error, :exc:`RuntimeError` is raised.
 
 
 .. function:: MessageBeep([type=MB_OK])
@@ -108,6 +109,10 @@
 
 Stop playing all instances of the specified sound.
 
+ .. note::
+
+ This flag is not supported on modern Windows platforms.
+
 
 .. data:: SND_ASYNC
 


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /