From 88e66254f90dcfd8287775bb0caee7916fb958b2 Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Fri, 29 Jun 2001 17:50:57 +0000 Subject: [PATCH] Use the more conventional "self" as the name of the self parameter in an example. It actually confused a reader. --- Doc/tut/tut.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/tut/tut.tex b/Doc/tut/tut.tex index 097ed728294..25bdd089ab5 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}