From: Guido van Rossum Date: Fri, 14 Aug 1992 09:19:56 +0000 (+0000) Subject: Fixed botched lay-out in class example X-Git-Tag: v0.9.8~231 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=084b0b2c16250cad903f217c958c78df409e74bb;p=thirdparty%2FPython%2Fcpython.git Fixed botched lay-out in class example --- diff --git a/Doc/tut.tex b/Doc/tut.tex index e45b6e7f6f36..be84fcc2bc8b 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 e45b6e7f6f36..be84fcc2bc8b 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}