diff options
author | Georg Brandl <georg@python.org> | 2010-05-21 21:01:32 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2010-05-21 21:01:32 (GMT) |
commit | fe4fd83737f2c06b1da50beb26c966ca372c3417 (patch) | |
tree | 605c06b68d35a819382ce6c5a5d30b4e29c140c3 /Doc | |
parent | 325524e96753a8e54551b2e86ef0428f68595679 (diff) | |
download | cpython-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.rst | 2 |
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 |