Kaydet (Commit) 806764be authored tarafından Fred Drake's avatar Fred Drake

No, __repr__() does not accept a parameter other than self.

üst 0fbec55e
......@@ -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}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment