summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-05-21 21:01:32 (GMT)
committerGeorg Brandl <georg@python.org>2010-05-21 21:01:32 (GMT)
commitfe4fd83737f2c06b1da50beb26c966ca372c3417 (patch)
tree605c06b68d35a819382ce6c5a5d30b4e29c140c3 /Doc
parent325524e96753a8e54551b2e86ef0428f68595679 (diff)
downloadcpython-fe4fd83737f2c06b1da50beb26c966ca372c3417.zip
cpython-fe4fd83737f2c06b1da50beb26c966ca372c3417.tar.gz
cpython-fe4fd83737f2c06b1da50beb26c966ca372c3417.tar.bz2
Fix variable name in example.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/urllib.request.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/urllib.request.rst b/Doc/library/urllib.request.rst
index dac7ef7..2c48146 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'))
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtm