summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorZachary Ware <zachary.ware@gmail.com>2016-09-05 22:32:28 (GMT)
committerZachary Ware <zachary.ware@gmail.com>2016-09-05 22:32:28 (GMT)
commit625cb379f7e77457ca5be94e175d4b71a1d8989f (patch)
tree3175d098fdd598def14b4cbce5de2e1a603c60c5 /Doc
parentcefebf3cbe72b468bacc57c37f183712529058f9 (diff)
downloadcpython-625cb379f7e77457ca5be94e175d4b71a1d8989f.zip
cpython-625cb379f7e77457ca5be94e175d4b71a1d8989f.tar.gz
cpython-625cb379f7e77457ca5be94e175d4b71a1d8989f.tar.bz2
Issue #25387: Check return value of winsound.MessageBeep
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/winsound.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/library/winsound.rst b/Doc/library/winsound.rst
index e72d025..372f792 100644
--- a/Doc/library/winsound.rst
+++ b/Doc/library/winsound.rst
@@ -40,7 +40,8 @@ provided by Windows platforms. It includes functions and several constants.
sound to play; possible values are ``-1``, ``MB_ICONASTERISK``,
``MB_ICONEXCLAMATION``, ``MB_ICONHAND``, ``MB_ICONQUESTION``, and ``MB_OK``, all
described below. The value ``-1`` produces a "simple beep"; this is the final
- fallback if a sound cannot be played otherwise.
+ fallback if a sound cannot be played otherwise. If the system indicates an
+ error, :exc:`RuntimeError` is raised.
.. data:: SND_FILENAME