From: Fred Drake Date: Fri, 29 Jun 2001 17:50:57 +0000 (+0000) Subject: Use the more conventional "self" as the name of the self parameter in an X-Git-Tag: v2.2a3~1376 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=88e66254f90dcfd8287775bb0caee7916fb958b2;p=thirdparty%2FPython%2Fcpython.git Use the more conventional "self" as the name of the self parameter in an example. It actually confused a reader. --- diff --git a/Doc/tut/tut.tex b/Doc/tut/tut.tex index 097ed7282948..25bdd089ab59 100644 --- a/Doc/tut/tut.tex +++ b/Doc/tut/tut.tex @@ -3429,7 +3429,7 @@ this: class MyClass: "A simple example class" i = 12345 - def f(x): + def f(self): return 'hello world' \end{verbatim}