]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
No, __repr__() does not accept a parameter other than self.
authorFred Drake <fdrake@acm.org>
Fri, 23 Apr 1999 17:03:21 +0000 (17:03 +0000)
committerFred Drake <fdrake@acm.org>
Fri, 23 Apr 1999 17:03:21 +0000 (17:03 +0000)
Doc/lib/libnetrc.tex

index 66e6f4e20a2a7e31012c1454f75143a8e3b1b9a5..47b704b89609fac8c529c1487d383851ec5e9891 100644 (file)
@@ -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}