Bug #1386675: winreg raises WindowsErrors
diff --git a/Doc/lib/libwinreg.tex b/Doc/lib/libwinreg.tex
index 1fdc6cc..15e082e 100644
--- a/Doc/lib/libwinreg.tex
+++ b/Doc/lib/libwinreg.tex
@@ -42,7 +42,7 @@
  \var{key} is the predefined handle to connect to.
 
  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.
 \end{funcdesc}
 
@@ -63,7 +63,7 @@
  If the key already exists, this function opens the existing 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.
 \end{funcdesc}
 
@@ -80,7 +80,7 @@
  \emph{This method can not delete keys with subkeys.}
 
  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.
 \end{funcdesc}
 
@@ -106,7 +106,7 @@
 
  The function retrieves the name of one subkey each time it 
  is called.  It is typically called repeatedly until an 
- \exception{EnvironmentError} exception 
+ \exception{WindowsError} exception 
  is raised, indicating, no more values are available.
 \end{funcdesc}
 
@@ -122,7 +122,7 @@
  
  The function retrieves the name of one subkey each time it is 
  called. It is typically called repeatedly, until an 
- \exception{EnvironmentError} exception is raised, indicating 
+ \exception{WindowsError} exception is raised, indicating 
  no more values.
  
  The result is a tuple of 3 items:
@@ -201,7 +201,7 @@
  
  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}