fix various typos; thanks, George Yoshida!
(closes SF patch #952047)
diff --git a/Doc/lib/libinspect.tex b/Doc/lib/libinspect.tex
index e7f4c29..68ae67b 100644
--- a/Doc/lib/libinspect.tex
+++ b/Doc/lib/libinspect.tex
@@ -120,7 +120,7 @@
 \begin{funcdesc}{getmodulename}{path}
   Return the name of the module named by the file \var{path}, without
   including the names of enclosing packages.  This uses the same
-  algortihm as the interpreter uses when searching for modules.  If
+  algorithm as the interpreter uses when searching for modules.  If
   the name cannot be matched according to the interpreter's rules,
   \code{None} is returned.
 \end{funcdesc}