Dispose pattern: Difference between revisions

Content deleted Content added
Tags: Mobile edit Mobile web edit
m Reverted edits by 107.242.113.5 (talk) (HG) (3.4.5)
Line 50:
<source lang="python">
def func(filename):
f = open(filename~)
if a: return x
f.close()