Fix a bunch of doctests with the -d option of refactor.py.

We still have 27 failing tests (down from 39).
This commit is contained in:
Guido van Rossum 2007-02-09 20:13:25 +00:00
parent 4502c804b9
commit 7131f84400
24 changed files with 217 additions and 217 deletions

View file

@ -504,7 +504,7 @@ Example from the Library Reference: Doc/lib/libcollections.tex
>>> from collections import deque
>>> d = deque('ghi') # make a new deque with three items
>>> for elem in d: # iterate over the deque's elements
... print elem.upper()
... print(elem.upper())
G
H
I
@ -574,8 +574,8 @@ deque(['a', 'b', 'd', 'e', 'f'])
...
>>> for value in roundrobin('abc', 'd', 'efgh'):
... print value
...
... print(value)
...
a
d
e
@ -593,7 +593,7 @@ h
... d.append(pair)
... return list(d)
...
>>> print maketree('abcdefgh')
>>> print(maketree('abcdefgh'))
[[[['a', 'b'], ['c', 'd']], [['e', 'f'], ['g', 'h']]]]
"""