summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-06-29 17:51:42 (GMT)
committerFred Drake <fdrake@acm.org>2001-06-29 17:51:42 (GMT)
commitd8e303cdc06994bf73af8a39de1f2f9d7c034a62 (patch)
tree01771515bb3159d196d9a6cb1a9ecf20820a1ac9
parent746977146ed56a5539357b1595b52045e0b17d75 (diff)
downloadcpython-d8e303cdc06994bf73af8a39de1f2f9d7c034a62.zip
cpython-d8e303cdc06994bf73af8a39de1f2f9d7c034a62.tar.gz
cpython-d8e303cdc06994bf73af8a39de1f2f9d7c034a62.tar.bz2
Use the more conventional "self" as the name of the self parameter in an
example. It actually confused a reader.
-rw-r--r--Doc/tut/tut.tex2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tut/tut.tex b/Doc/tut/tut.tex
index 5fe1cb7..2045839 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}