From: Fred Drake Date: Fri, 29 Jun 2001 17:51:42 +0000 (+0000) Subject: Use the more conventional "self" as the name of the self parameter in an X-Git-Tag: v2.1.1c1~34 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d8e303cdc06994bf73af8a39de1f2f9d7c034a62;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 5fe1cb740537..204583993ec4 100644 --- a/Doc/tut/tut.tex +++ b/Doc/tut/tut.tex @@ -3424,7 +3424,7 @@ this: class MyClass: "A simple example class" i = 12345 - def f(x): + def f(self): return 'hello world' \end{verbatim}