Fix unbalanced parethesis.
diff --git a/Doc/lib/libdis.tex b/Doc/lib/libdis.tex
index 7bdd239..d0354c6 100644
--- a/Doc/lib/libdis.tex
+++ b/Doc/lib/libdis.tex
@@ -511,7 +511,7 @@
 \end{opcodedesc}
 
 \begin{opcodedesc}{LOAD_ATTR}{namei}
-Replaces TOS with \code{getattr(TOS, co_names[\var{namei}]}.
+Replaces TOS with \code{getattr(TOS, co_names[\var{namei}])}.
 \end{opcodedesc}
 
 \begin{opcodedesc}{COMPARE_OP}{opname}
diff --git a/Doc/lib/libexcs.tex b/Doc/lib/libexcs.tex
index 54b141a..b8d8f7c 100644
--- a/Doc/lib/libexcs.tex
+++ b/Doc/lib/libexcs.tex
@@ -189,7 +189,7 @@
   interrupts is made regularly.
 % XXXJH xrefs here
   Interrupts typed when a built-in function \function{input()} or
-  \function{raw_input()}) is waiting for input also raise this
+  \function{raw_input()} is waiting for input also raise this
   exception.
 \end{excdesc}