Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
7fe2c4af
Commit
7fe2c4af
authored
Dec 05, 2008
by
Georg Brandl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#4355: refer to urlencode in the correct module.
parent
4f3359f4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
Doc/library/urllib.parse.rst
Doc/library/urllib.parse.rst
+2
-2
Doc/library/urllib.request.rst
Doc/library/urllib.request.rst
+4
-4
No files found.
Doc/library/urllib.parse.rst
View file @
7fe2c4af
...
...
@@ -106,8 +106,8 @@ The :mod:`urllib.parse` module defines the following functions:
parsing errors. If false (the default), errors are silently ignored. If true,
errors raise a :exc:`ValueError` exception.
Use the :func:`urllib.
urlencode` function to convert such dictionaries into
query strings.
Use the :func:`urllib.
parse.urlencode` function to convert such
dictionaries into
query strings.
.. function:: parse_qsl(qs[, keep_blank_values[, strict_parsing]])
...
...
Doc/library/urllib.request.rst
View file @
7fe2c4af
...
...
@@ -23,8 +23,8 @@ The :mod:`urllib.request` module defines the following functions:
that use *data*; the HTTP request will be a POST instead of a GET when the
*data* parameter is provided. *data* should be a buffer in the standard
:mimetype:`application/x-www-form-urlencoded` format. The
:func:`urllib.
urlencode` function takes a mapping or sequence of 2-tuples and
returns a string in this format.
:func:`urllib.
parse.urlencode` function takes a mapping or sequence
of 2-tuples and
returns a string in this format.
The optional *timeout* parameter specifies a timeout in seconds for blocking
operations like the connection attempt (if not specified, the global default
...
...
@@ -172,8 +172,8 @@ The following classes are provided:
that use *data*; the HTTP request will be a POST instead of a GET when the
*data* parameter is provided. *data* should be a buffer in the standard
:mimetype:`application/x-www-form-urlencoded` format. The
:func:`urllib.
urlencode` function takes a mapping or sequence of 2-tuples and
returns a string in this format.
:func:`urllib.
parse.urlencode` function takes a mapping or sequence
of 2-tuples and
returns a string in this format.
*headers* should be a dictionary, and will be treated as if :meth:`add_header`
was called with each key and value as arguments. This is often used to "spoof"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment