diff options
| author | Georg Brandl <georg@python.org> | 2010-05-21 21:01:32 +0000 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2010-05-21 21:01:32 +0000 |
| commit | fe4fd83737f2c06b1da50beb26c966ca372c3417 (patch) | |
| tree | 605c06b68d35a819382ce6c5a5d30b4e29c140c3 /Doc/library/urllib.request.rst | |
| parent | 325524e96753a8e54551b2e86ef0428f68595679 (diff) | |
| download | cpython-git-fe4fd83737f2c06b1da50beb26c966ca372c3417.tar.gz | |
Fix variable name in example.
Diffstat (limited to 'Doc/library/urllib.request.rst')
| -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 dac7ef759a..2c48146858 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 |
