diff options
author | Fred Drake <fdrake@acm.org> | 2001-06-29 17:50:57 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2001-06-29 17:50:57 (GMT) |
commit | 88e66254f90dcfd8287775bb0caee7916fb958b2 (patch) | |
tree | e91258f29233b0d78d4c7a4eaef8513671860085 /Doc/tut/tut.tex | |
parent | 0c209047baef050c5a0c7a922a00882301101479 (diff) | |
download | cpython-88e66254f90dcfd8287775bb0caee7916fb958b2.zip cpython-88e66254f90dcfd8287775bb0caee7916fb958b2.tar.gz cpython-88e66254f90dcfd8287775bb0caee7916fb958b2.tar.bz2 |
Use the more conventional "self" as the name of the self parameter in an
example. It actually confused a reader.
Diffstat (limited to 'Doc/tut/tut.tex')
-rw-r--r-- | Doc/tut/tut.tex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tut/tut.tex b/Doc/tut/tut.tex index 097ed72..25bdd08 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} |