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.
........
This commit is contained in:
Georg Brandl 2010-05-21 21:02:56 +00:00
parent 1bb061d0a5
commit 4e0bd6d40b
1 changed files with 1 additions and 1 deletions

View File

@ -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