mirror of
https://github.com/python/cpython.git
synced 2025-07-24 19:54:21 +00:00
Use the more conventional "self" as the name of the self parameter in an
example. It actually confused a reader.
This commit is contained in:
parent
0c209047ba
commit
88e66254f9
1 changed files with 1 additions and 1 deletions
|
@ -3429,7 +3429,7 @@ this:
|
|||
class MyClass:
|
||||
"A simple example class"
|
||||
i = 12345
|
||||
def f(x):
|
||||
def f(self):
|
||||
return 'hello world'
|
||||
\end{verbatim}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue