[Python-checkins] CVS: python/dist/src/Doc/lib libwinreg.tex,1.3,1.4

Fred L. Drake python-dev@python.org
Wed, 5 Jul 2000 21:38:40 -0700


Update of /cvsroot/python/python/dist/src/Doc/lib
In directory slayer.i.sourceforge.net:/tmp/cvs-serv5626/lib
Modified Files:
	libwinreg.tex 
Log Message:
Correct typo in description of the machine name parameter to the 
ConnectRegistry() function; there is no trailing period!
Index: libwinreg.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libwinreg.tex,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** libwinreg.tex	2000年06月30日 03:50:06	1.3
--- libwinreg.tex	2000年07月06日 04:38:37	1.4
***************
*** 9,15 ****
 \versionadded{2.0}
 
! These functions exposes the Windows registry API to Python. Instead of
! using an integer as the registry handle, a handle object is used to ensure
! that the handles are closed correctly, even if the programmer
 neglects to explicitly close them.
 
--- 9,15 ----
 \versionadded{2.0}
 
! These functions expose the Windows registry API to Python. Instead of
! using an integer as the registry handle, a handle object is used to
! ensure that the handles are closed correctly, even if the programmer
 neglects to explicitly close them.
 
***************
*** 18,23 ****
 \module{winreg} module.
 
 
- \subsection{Registry Operations \label{registry-operations}}
 
 \begin{funcdesc}{CloseKey}{hkey}
--- 18,23 ----
 \module{winreg} module.
 
+ This module offers the following functions:
 
 
 \begin{funcdesc}{CloseKey}{hkey}
***************
*** 36,41 ****
 
 \var{computer_name} is the name of the remote computer, of the 
! form \code{'\\\\computername.'}. If \code{None}, the local computer is 
! used.
 
 \var{key} is the predefined handle to connect to.
--- 36,41 ----
 
 \var{computer_name} is the name of the remote computer, of the 
! form \samp{\e\e computername}. If \code{None}, the local computer
! is used.
 
 \var{key} is the predefined handle to connect to.
***************
*** 67,71 ****
 \end{funcdesc}
 
- 
 \begin{funcdesc}{DeleteKey}{key, sub_key}
 Deletes the specified key.
--- 67,70 ----
***************
*** 373,377 ****
 the \method{Close()} method on the object, or the 
 \function{CloseKey()} function.
! 
 All registry functions in this module return one of these objects.
 
--- 372,376 ----
 the \method{Close()} method on the object, or the 
 \function{CloseKey()} function.
! 
 All registry functions in this module return one of these objects.
 
***************
*** 380,391 ****
 encouraged.
 
! Handle objects provide semantics for __nonzero__ - thus
! \begin{verbatim}
! if handle:
! print "Yes"
! \end{verbatim}
! will print \code{Yes} if the handle is currently valid (ie,
 has not been closed or detached).
! 
 The object also support comparison semantics, so handle
 objects will compare true if they both reference the same
--- 379,390 ----
 encouraged.
 
! Handle objects provide semantics for \method{__nonzero__()} - thus
! \begin{verbatim}
! if handle:
! print "Yes"
! \end{verbatim}
! will print \code{Yes} if the handle is currently valid (i.e.,
 has not been closed or detached).
! 
 The object also support comparison semantics, so handle
 objects will compare true if they both reference the same
***************
*** 398,402 ****
 also disconnect the Windows handle from the handle object.
 
! \begin{methoddesc}{Close}
 Closes the underlying Windows handle.
 
--- 397,401 ----
 also disconnect the Windows handle from the handle object.
 
! \begin{methoddesc}{Close}{}
 Closes the underlying Windows handle.
 
***************
*** 405,409 ****
 
 
! \begin{methoddesc}{Detach}
 Detaches the Windows handle from the handle object.
 
--- 404,408 ----
 
 
! \begin{methoddesc}{Detach}{}
 Detaches the Windows handle from the handle object.
 

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