diff options
author | Guido van Rossum <guido@python.org> | 1992-08-14 09:19:56 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1992-08-14 09:19:56 (GMT) |
commit | 084b0b2c16250cad903f217c958c78df409e74bb (patch) | |
tree | f0319bcafb419edbbe5ace6370281ae4e7860ea7 | |
parent | abff0fdab197441063efdd82ab6c8f430e4cee47 (diff) | |
download | cpython-084b0b2c16250cad903f217c958c78df409e74bb.zip cpython-084b0b2c16250cad903f217c958c78df409e74bb.tar.gz cpython-084b0b2c16250cad903f217c958c78df409e74bb.tar.bz2 |
Fixed botched lay-out in class example
-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} |