Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 88e6625

Browse files
committed
Use the more conventional "self" as the name of the self parameter in an
example. It actually confused a reader.
1 parent 0c20904 commit 88e6625

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/tut/tut.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3429,7 +3429,7 @@ \subsection{Class Objects \label{classObjects}}
34293429
class MyClass:
34303430
"A simple example class"
34313431
i = 12345
3432-
def f(x):
3432+
def f(self):
34333433
return 'hello world'
34343434
\end{verbatim}
34353435

0 commit comments

Comments
 (0)