Kaydet (Commit) c187f33e authored tarafından Tim Peters's avatar Tim Peters

Whitespace normalization.

üst 78a0be6a
......@@ -6,20 +6,20 @@ from itertools import tee
import gc
def leak():
def inner():
def fib():
def yield_identity_forever(g):
while 1:
yield g
def _fib():
for i in yield_identity_forever(head):
yield i
head, tail, result = tee(_fib(), 3)
return result
def inner():
def fib():
def yield_identity_forever(g):
while 1:
yield g
def _fib():
for i in yield_identity_forever(head):
yield i
head, tail, result = tee(_fib(), 3)
return result
x = fib()
x.next()
inner()
gc.collect() ; gc.collect()
# this is expected to return 0
return gc.collect()
x = fib()
x.next()
inner()
gc.collect() ; gc.collect()
# this is expected to return 0
return gc.collect()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment