diff options
| author | Georg Brandl <georg@python.org> | 2010-12-19 12:33:52 +0000 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2010-12-19 12:33:52 +0000 |
| commit | 09a7df8301bef5a5ac957371ae9e19c68acdca0a (patch) | |
| tree | 7e1916896b3ea48fb5009a30e0915155a46f9a5a /Doc/library/urllib.request.rst | |
| parent | 7bc0d872ddb023333acc05b7d038cdb74cfc047b (diff) | |
| download | cpython-git-09a7df8301bef5a5ac957371ae9e19c68acdca0a.tar.gz | |
#3243 follow-up: remove debugging print and fix docs; data is a bytes object.v3.2b2
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 6aa9e15658..724310be0d 100644 --- a/Doc/library/urllib.request.rst +++ b/Doc/library/urllib.request.rst @@ -20,7 +20,7 @@ The :mod:`urllib.request` module defines the following functions: Open the URL *url*, which can be either a string or a :class:`Request` object. - *data* may be a string specifying additional data to send to the + *data* may be a bytes object specifying additional data to send to the server, or ``None`` if no such data is needed. *data* may also be an iterable object and in that case Content-Length value must be specified in the headers. Currently HTTP requests are the only ones that use *data*; the |
