mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
Fixed botched lay-out in class example
This commit is contained in:
parent
abff0fdab1
commit
084b0b2c16
2 changed files with 4 additions and 2 deletions
|
|
@ -2385,7 +2385,8 @@ Methods may call other methods by using method attributes of the
|
|||
def add(self, x):
|
||||
self.data.append(x)
|
||||
def addtwice(self, x):
|
||||
self.add(x) self.add(x)
|
||||
self.add(x)
|
||||
self.add(x)
|
||||
\end{verbatim}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -2385,7 +2385,8 @@ Methods may call other methods by using method attributes of the
|
|||
def add(self, x):
|
||||
self.data.append(x)
|
||||
def addtwice(self, x):
|
||||
self.add(x) self.add(x)
|
||||
self.add(x)
|
||||
self.add(x)
|
||||
\end{verbatim}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue