Use the more conventional "self" as the name of the self parameter in an

example.  It actually confused a reader.
This commit is contained in:
Fred Drake 2001-06-29 17:50:57 +00:00
parent 0c209047ba
commit 88e66254f9
1 changed files with 1 additions and 1 deletions

View File

@ -3429,7 +3429,7 @@ this:
class MyClass: class MyClass:
"A simple example class" "A simple example class"
i = 12345 i = 12345
def f(x): def f(self):
return 'hello world' return 'hello world'
\end{verbatim} \end{verbatim}