From 084b0b2c16250cad903f217c958c78df409e74bb Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 14 Aug 1992 09:19:56 +0000 Subject: Fixed botched lay-out in class example --- Doc/tut.tex | 3 ++- 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} -- cgit v0.12