mirror of
https://github.com/python/cpython.git
synced 2025-11-03 11:23:31 +00:00
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.
This commit is contained in:
parent
cf069da57d
commit
29052482d1
3 changed files with 7 additions and 9 deletions
|
|
@ -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 @@
|
||||||
\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.
|
||||||
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}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue