From: Georg Brandl Date: Fri, 21 May 2010 21:02:56 +0000 (+0000) Subject: Merged revisions 81421 via svnmerge from X-Git-Tag: v3.1.3rc1~723 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4e0bd6d40bd7a15f437a0b35ee4f714e53f483f1;p=python Merged revisions 81421 via svnmerge from svn+ssh://svn.python.org/python/branches/py3k ........ r81421 | georg.brandl | 2010-05-21 23:01:32 +0200 (Fr, 21 Mai 2010) | 1 line Fix variable name in example. ........ --- diff --git a/Doc/library/urllib.request.rst b/Doc/library/urllib.request.rst index 07d1daa242..d153384cc5 100644 --- a/Doc/library/urllib.request.rst +++ b/Doc/library/urllib.request.rst @@ -1079,7 +1079,7 @@ will use same for decoding the bytes object. :: >>> import urllib.request >>> f = urllib.request.urlopen('http://www.python.org/') - >>> print(fp.read(100).decode('utf-8')) + >>> print(f.read(100).decode('utf-8'))