diff options
-rw-r--r-- | Doc/tut.tex | 3 | ||||
-rw-r--r-- | Doc/tut/tut.tex | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/Doc/tut.tex b/Doc/tut.tex index e45b6e7..be84fcc 100644 --- a/Doc/tut.tex +++ b/Doc/tut.tex @@ -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} diff --git a/Doc/tut/tut.tex b/Doc/tut/tut.tex index e45b6e7..be84fcc 100644 --- a/Doc/tut/tut.tex +++ b/Doc/tut/tut.tex @@ -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} |