Dispose pattern: Difference between revisions

Content deleted Content added
No edit summary
Line 51:
def func(filename):
f = open(filename)
if a:
return x
f.close()
return y