mirror of
https://github.com/python/cpython.git
synced 2026-02-08 02:40:43 +00:00
gh-139707: Specify winreg, msvcrt and winsound module availability in docs (GH-140429)
This commit is contained in:
parent
6d710a79ea
commit
13fa313beb
3 changed files with 6 additions and 0 deletions
|
|
@ -22,6 +22,8 @@ api. The normal API deals only with ASCII characters and is of limited use
|
|||
for internationalized applications. The wide char API should be used where
|
||||
ever possible.
|
||||
|
||||
.. availability:: Windows.
|
||||
|
||||
.. versionchanged:: 3.3
|
||||
Operations in this module now raise :exc:`OSError` where :exc:`IOError`
|
||||
was raised.
|
||||
|
|
|
|||
|
|
@ -14,6 +14,8 @@ integer as the registry handle, a :ref:`handle object <handle-object>` is used
|
|||
to ensure that the handles are closed correctly, even if the programmer neglects
|
||||
to explicitly close them.
|
||||
|
||||
.. availability:: Windows.
|
||||
|
||||
.. _exception-changed:
|
||||
|
||||
.. versionchanged:: 3.3
|
||||
|
|
|
|||
|
|
@ -13,6 +13,8 @@
|
|||
The :mod:`winsound` module provides access to the basic sound-playing machinery
|
||||
provided by Windows platforms. It includes functions and several constants.
|
||||
|
||||
.. availability:: Windows.
|
||||
|
||||
|
||||
.. function:: Beep(frequency, duration)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue