mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08: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:
@@ -3429,7 +3429,7 @@ this:
|
||||
class MyClass:
|
||||
"A simple example class"
|
||||
i = 12345
|
||||
def f(x):
|
||||
def f(self):
|
||||
return 'hello world'
|
||||
\end{verbatim}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user