Commit c568cc16 authored by Nick Coghlan's avatar Nick Coghlan

Fix typo in example (should be backported, but my maintenance branch is woefully out of date)

parent dc48b744
......@@ -111,7 +111,7 @@ And lets you write code like this:
\begin{verbatim}
from __future__ import with_statement
from contextlib import closing
import codecs
import urllib
with closing(urllib.urlopen('http://www.python.org')) as page:
for line in page:
......
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