From: Georg Brandl Date: Fri, 21 May 2010 21:01:32 +0000 (+0000) Subject: Fix variable name in example. X-Git-Tag: v3.2a1~724 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fe4fd83737f2c06b1da50beb26c966ca372c3417;p=thirdparty%2FPython%2Fcpython.git Fix variable name in example. --- diff --git a/Doc/library/urllib.request.rst b/Doc/library/urllib.request.rst index dac7ef759a74..2c48146858cf 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'))