No, __repr__() does not accept a parameter other than self.
diff --git a/Doc/lib/libnetrc.tex b/Doc/lib/libnetrc.tex
index 66e6f4e..47b704b 100644
--- a/Doc/lib/libnetrc.tex
+++ b/Doc/lib/libnetrc.tex
@@ -24,6 +24,7 @@
name, line number, and terminating token.
\end{classdesc}
+
\subsection{netrc Objects \label{netrc-objects}}
A \class{netrc} instance has the following methods:
@@ -36,7 +37,7 @@
available, return \code{None}.
\end{methoddesc}
-\begin{methoddesc}{__repr__}{host}
+\begin{methoddesc}{__repr__}{}
Dump the class data as a string in the format of a netrc file.
(This discards comments and may reorder the entries.)
\end{methoddesc}