From d8e303cdc06994bf73af8a39de1f2f9d7c034a62 Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Fri, 29 Jun 2001 17:51:42 +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 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} -- 2.47.3