Fixed typo.
diff --git a/Doc/lib/libtemplate.tex b/Doc/lib/libtemplate.tex
index 9b85178..4afb56b 100644
--- a/Doc/lib/libtemplate.tex
+++ b/Doc/lib/libtemplate.tex
@@ -8,7 +8,7 @@
% \bimodindex{} or \stmodundex{} generates an index entry for this module
\section{Built-in Module \sectcode{spam}} % If implemented in C
-\bimodindex[spam}
+\bimodindex{spam}
\section{Standard module \sectcode{spam}} % If implemented in Python
\stmodindex{spam}
diff --git a/Doc/libtemplate.tex b/Doc/libtemplate.tex
index 9b85178..4afb56b 100644
--- a/Doc/libtemplate.tex
+++ b/Doc/libtemplate.tex
@@ -8,7 +8,7 @@
% \bimodindex{} or \stmodundex{} generates an index entry for this module
\section{Built-in Module \sectcode{spam}} % If implemented in C
-\bimodindex[spam}
+\bimodindex{spam}
\section{Standard module \sectcode{spam}} % If implemented in Python
\stmodindex{spam}
diff --git a/Doc/templates/module.tex b/Doc/templates/module.tex
index 9b85178..4afb56b 100644
--- a/Doc/templates/module.tex
+++ b/Doc/templates/module.tex
@@ -8,7 +8,7 @@
% \bimodindex{} or \stmodundex{} generates an index entry for this module
\section{Built-in Module \sectcode{spam}} % If implemented in C
-\bimodindex[spam}
+\bimodindex{spam}
\section{Standard module \sectcode{spam}} % If implemented in Python
\stmodindex{spam}