commit | 13703087ba17eecba490a0f74d40e6daa7e47115 | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Sun May 20 15:03:06 2007 +0000 |
committer | Georg Brandl <georg@python.org> | Sun May 20 15:03:06 2007 +0000 |
tree | 02ddb6588d957587fd512e024d6b7c8ebec6ce6d | |
parent | df73802131b481e6fcf8bc22a3f853be2276eb6d [diff] [blame] |
Backport rev 55465 by Nick Coghlan.
diff --git a/Doc/lib/libcontextlib.tex b/Doc/lib/libcontextlib.tex index 72bf537..0ac5442 100644 --- a/Doc/lib/libcontextlib.tex +++ b/Doc/lib/libcontextlib.tex
@@ -111,7 +111,7 @@ \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: