mirror of https://github.com/python/cpython.git
Bug #1386675: winreg raises WindowsErrors
This commit is contained in:
parent
75400db251
commit
0cdcec548b
|
@ -42,7 +42,7 @@ This module offers the following functions:
|
||||||
\var{key} is the predefined handle to connect to.
|
\var{key} is the predefined handle to connect to.
|
||||||
|
|
||||||
The return value is the handle of the opened key.
|
The return value is the handle of the opened key.
|
||||||
If the function fails, an \exception{EnvironmentError} exception is
|
If the function fails, an \exception{WindowsError} exception is
|
||||||
raised.
|
raised.
|
||||||
\end{funcdesc}
|
\end{funcdesc}
|
||||||
|
|
||||||
|
@ -63,7 +63,7 @@ This module offers the following functions:
|
||||||
If the key already exists, this function opens the existing key
|
If the key already exists, this function opens the existing key
|
||||||
|
|
||||||
The return value is the handle of the opened key.
|
The return value is the handle of the opened key.
|
||||||
If the function fails, an \exception{EnvironmentError} exception is
|
If the function fails, an \exception{WindowsError} exception is
|
||||||
raised.
|
raised.
|
||||||
\end{funcdesc}
|
\end{funcdesc}
|
||||||
|
|
||||||
|
@ -80,7 +80,7 @@ This module offers the following functions:
|
||||||
\emph{This method can not delete keys with subkeys.}
|
\emph{This method can not delete keys with subkeys.}
|
||||||
|
|
||||||
If the method succeeds, the entire key, including all of its values,
|
If the method succeeds, the entire key, including all of its values,
|
||||||
is removed. If the method fails, an \exception{EnvironmentError}
|
is removed. If the method fails, an \exception{WindowsError}
|
||||||
exception is raised.
|
exception is raised.
|
||||||
\end{funcdesc}
|
\end{funcdesc}
|
||||||
|
|
||||||
|
@ -106,7 +106,7 @@ This module offers the following functions:
|
||||||
|
|
||||||
The function retrieves the name of one subkey each time it
|
The function retrieves the name of one subkey each time it
|
||||||
is called. It is typically called repeatedly until an
|
is called. It is typically called repeatedly until an
|
||||||
\exception{EnvironmentError} exception
|
\exception{WindowsError} exception
|
||||||
is raised, indicating, no more values are available.
|
is raised, indicating, no more values are available.
|
||||||
\end{funcdesc}
|
\end{funcdesc}
|
||||||
|
|
||||||
|
@ -122,7 +122,7 @@ This module offers the following functions:
|
||||||
|
|
||||||
The function retrieves the name of one subkey each time it is
|
The function retrieves the name of one subkey each time it is
|
||||||
called. It is typically called repeatedly, until an
|
called. It is typically called repeatedly, until an
|
||||||
\exception{EnvironmentError} exception is raised, indicating
|
\exception{WindowsError} exception is raised, indicating
|
||||||
no more values.
|
no more values.
|
||||||
|
|
||||||
The result is a tuple of 3 items:
|
The result is a tuple of 3 items:
|
||||||
|
@ -201,7 +201,7 @@ This module offers the following functions:
|
||||||
|
|
||||||
The result is a new handle to the specified key
|
The result is a new handle to the specified key
|
||||||
|
|
||||||
If the function fails, \exception{EnvironmentError} is raised.
|
If the function fails, \exception{WindowsError} is raised.
|
||||||
\end{funcdesc}
|
\end{funcdesc}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue