Whitespace normalization (via reindent.py).

This commit is contained in:
Tim Peters 2005-08-26 15:20:46 +00:00
parent e8889c5741
commit 9e34c04732
10 changed files with 19 additions and 23 deletions

View file

@ -709,18 +709,18 @@ are quite straightforwardly expressed with this Python idiom.
Ye olde Fibonacci generator, tee style.
>>> def fib():
...
...
... def _isum(g, h):
... while 1:
... yield g.next() + h.next()
...
...
... def _fib():
... yield 1
... yield 2
... fibTail.next() # throw first away
... for res in _isum(fibHead, fibTail):
... yield res
...
...
... fibHead, fibTail, fibRes = tee(_fib(), 3)
... return fibRes