Correct typos and markup errors (Raymond, thanks for texcheck)
diff --git a/Doc/lib/libcookie.tex b/Doc/lib/libcookie.tex
index 756ba1e..e5d2038 100644
--- a/Doc/lib/libcookie.tex
+++ b/Doc/lib/libcookie.tex
@@ -68,7 +68,7 @@
 
 
 \begin{seealso}
-  \seemodule{cookielib}{HTTP cookie handling for for web
+  \seemodule{cookielib}{HTTP cookie handling for web
     \emph{clients}.  The \module{cookielib} and \module{Cookie}
     modules do not depend on each other.}
 
diff --git a/Doc/lib/libdl.tex b/Doc/lib/libdl.tex
index 3da4db2..325724c 100644
--- a/Doc/lib/libdl.tex
+++ b/Doc/lib/libdl.tex
@@ -27,7 +27,7 @@
 (\constant{RTLD_NOW}). Default is \constant{RTLD_LAZY}. Note that some
 systems do not support \constant{RTLD_NOW}.
 
-Return value is a \pytype{dlobject}.
+Return value is a \class{dlobject}.
 \end{funcdesc}
 
 The \module{dl} module defines the following constants:
diff --git a/Doc/lib/libmmap.tex b/Doc/lib/libmmap.tex
index 99fdc5b..e7db814 100644
--- a/Doc/lib/libmmap.tex
+++ b/Doc/lib/libmmap.tex
@@ -63,7 +63,7 @@
   \strong{(\UNIX{} version)} Maps \var{length} bytes from the file
   specified by the file descriptor \var{fileno}, and returns a mmap
   object.  If \var{length} is \code{0}, the maximum length of the map
-  will be the current size of the file when \function{mmap(} is
+  will be the current size of the file when \function{mmap()} is
   called.
   
   \var{flags} specifies the nature of the mapping.
diff --git a/Doc/lib/libwinreg.tex b/Doc/lib/libwinreg.tex
index 638b6f2..d1e23da 100644
--- a/Doc/lib/libwinreg.tex
+++ b/Doc/lib/libwinreg.tex
@@ -387,8 +387,8 @@
  objects will compare true if they both reference the same
  underlying Windows handle value.
 
- Handle objects can be converted to an integer (eg, using the
- builtin \function{int()} function, in which case the underlying
+ Handle objects can be converted to an integer (e.g., using the
+ builtin \function{int()} function), in which case the underlying
  Windows handle value is returned.  You can also use the 
  \method{Detach()} method to return the integer handle, and
  also disconnect the Windows handle from the handle object.