diff options
author | Georg Brandl <georg@python.org> | 2010-05-21 21:02:56 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2010-05-21 21:02:56 (GMT) |
commit | 4e0bd6d40bd7a15f437a0b35ee4f714e53f483f1 (patch) | |
tree | eb7969697780d0158c38293243e5c1375a508b93 | |
parent | 1bb061d0a5e90a8d4a4b697b1ccf6d9943d6ed87 (diff) | |
download | cpython-4e0bd6d40bd7a15f437a0b35ee4f714e53f483f1.zip cpython-4e0bd6d40bd7a15f437a0b35ee4f714e53f483f1.tar.gz cpython-4e0bd6d40bd7a15f437a0b35ee4f714e53f483f1.tar.bz2 |
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.
........
-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 07d1daa..d153384 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 |