From 4e0bd6d40bd7a15f437a0b35ee4f714e53f483f1 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Fri, 21 May 2010 21:02:56 +0000 Subject: [PATCH] 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. ........ --- Doc/library/urllib.request.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/urllib.request.rst b/Doc/library/urllib.request.rst index 07d1daa2425..d153384cc54 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'))