diff options
author | Denis Gladkikh <denis@gladkikh.email> | 2015-09-01 10:23:31 -0700 |
---|---|---|
committer | Denis Gladkikh <denis@gladkikh.email> | 2015-09-01 10:23:31 -0700 |
commit | 3e93c5e5f4a4f968a2371dc0b69047bc78da4640 (patch) | |
tree | 384c1c6c39ba4e8e8d5e2217fb6acdb870c397d0 | |
parent | a24e5ef7a115eb32e929a003fdfcdb3704927064 (diff) |
Update python.html.markdown
-rw-r--r-- | python.html.markdown | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python.html.markdown b/python.html.markdown index 9493e6a3..16a94c8f 100644 --- a/python.html.markdown +++ b/python.html.markdown @@ -382,7 +382,7 @@ else: # Optional clause to the try/except block. Must follow all except blocks finally: # Execute under all circumstances print "We can clean up resources here" -# Instead of try/finally to cleanup resources you can use with +# Instead of try/finally to cleanup resources you can use a with statement with open("myfile.txt") as f: for line in f: print line |