summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libnetrc.tex
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1999-04-23 17:03:21 (GMT)
committerFred Drake <fdrake@acm.org>1999-04-23 17:03:21 (GMT)
commit806764bee480232b701104d7f8384af04dfd14d4 (patch)
tree1cafb139d38ed22ab78c758cfcc47a34a46c1a05 /Doc/lib/libnetrc.tex
parent0fbec55e23d05a469b5802d79bf6bd6b7be8f01f (diff)
downloadcpython-806764bee480232b701104d7f8384af04dfd14d4.zip
cpython-806764bee480232b701104d7f8384af04dfd14d4.tar.gz
cpython-806764bee480232b701104d7f8384af04dfd14d4.tar.bz2
No, __repr__() does not accept a parameter other than self.
Diffstat (limited to 'Doc/lib/libnetrc.tex')
-rw-r--r--Doc/lib/libnetrc.tex3
1 files changed, 2 insertions, 1 deletions
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 @@ user's home directory will be read. Parse errors will raise
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 @@ the `default' entry. If neither matching host nor default entry is
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}