summaryrefslogtreecommitdiffstats
path: root/Doc/tut
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1992-08-14 09:19:56 (GMT)
committerGuido van Rossum <guido@python.org>1992-08-14 09:19:56 (GMT)
commit084b0b2c16250cad903f217c958c78df409e74bb (patch)
treef0319bcafb419edbbe5ace6370281ae4e7860ea7 /Doc/tut
parentabff0fdab197441063efdd82ab6c8f430e4cee47 (diff)
downloadcpython-084b0b2c16250cad903f217c958c78df409e74bb.zip
cpython-084b0b2c16250cad903f217c958c78df409e74bb.tar.gz
cpython-084b0b2c16250cad903f217c958c78df409e74bb.tar.bz2
Fixed botched lay-out in class example
Diffstat (limited to 'Doc/tut')
-rw-r--r--Doc/tut/tut.tex3
1 files changed, 2 insertions, 1 deletions
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}