Kaydet (Commit) 29052482 authored tarafından Fred Drake's avatar Fred Drake

Removed references to Python 1.5.3; that was a "tentative" number I used

in the docs to indicate the next version before we decided on 1.6.

Adjusted winsound.Beep() description slightly as well.
üst cf069da5
...@@ -5,8 +5,7 @@ ...@@ -5,8 +5,7 @@
\sectionauthor{Moshe Zadka}{moshez@zadka.site.co.il} \sectionauthor{Moshe Zadka}{moshez@zadka.site.co.il}
\modulesynopsis{Compare files very efficiently.} \modulesynopsis{Compare files very efficiently.}
% XXX check version number before release! \deprecated{1.6}{Use the \refmodule{filecmp} module instead.}
\deprecated{1.5.3}{Use the \module{filecmp} module instead.}
The \module{cmp} module defines a function to compare files, taking all The \module{cmp} module defines a function to compare files, taking all
sort of short-cuts to make it a highly efficient operation. sort of short-cuts to make it a highly efficient operation.
......
...@@ -5,8 +5,7 @@ ...@@ -5,8 +5,7 @@
\sectionauthor{Moshe Zadka}{moshez@zadka.site.co.il} \sectionauthor{Moshe Zadka}{moshez@zadka.site.co.il}
\modulesynopsis{Compare files very efficiently.} \modulesynopsis{Compare files very efficiently.}
% XXX check version number before release! \deprecated{1.6}{Use the \refmodule{filecmp} module instead.}
\deprecated{1.5.3}{Use the \module{filecmp} module instead.}
The \module{cmpcache} module provides an identical interface and similar The \module{cmpcache} module provides an identical interface and similar
functionality as the \refmodule{cmp} module, but can be a bit more efficient functionality as the \refmodule{cmp} module, but can be a bit more efficient
......
...@@ -21,12 +21,12 @@ two functions and several constants. ...@@ -21,12 +21,12 @@ two functions and several constants.
through \code{0x7fff}). The \var{duration} parameter specifies the through \code{0x7fff}). The \var{duration} parameter specifies the
number of milliseconds the sound should last. If the system is not number of milliseconds the sound should last. If the system is not
able to beep the speaker, \exception{RuntimeError} is raised. able to beep the speaker, \exception{RuntimeError} is raised.
Note: this function works as documented above only on Windows NT and \strong{Note:} Under Windows 95 and 98, the arguments are ignored;
Windows 2000. Under Windows 95 and 98, the arguments are ignored;
if the system has a sound card, the system default sound is played if the system has a sound card, the system default sound is played
(typically ding.wav, or whatever is registered as the default sound via (typically \file{ding.wav}, or whatever is registered as the default
Control Panel -> Sounds); else (no sound card) the standard system beep. sound via Control Panel -> Sounds); else (no sound card) the
\versionadded{1.5.3} % XXX fix this version number when release is scheduled! standard system beep.
\versionadded{1.6}
\end{funcdesc} \end{funcdesc}
\begin{funcdesc}{PlaySound}{sound, flags} \begin{funcdesc}{PlaySound}{sound, flags}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment