8000 [2.7] bpo-34866: Adding max_num_fields to cgi.FieldStorage (GH-9660) by matthewbelisle-wf · Pull Request #9969 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

[2.7] bpo-34866: Adding max_num_fields to cgi.FieldStorage (GH-9660) #9969

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Oct 30, 2018
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Changing max_num_fields wording
  • Loading branch information
matthewbelisle-wf committed Oct 30, 2018
commit c5d4fe3adc0f969f285a478538c5bd649acf36cb
12 changes: 6 additions & 6 deletions Doc/library/urlparse.rst
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,9 @@ The :mod:`urlparse` module defines the following functions:
parsing errors. If false (the default), errors are silently ignored. If true,
errors raise a :exc:`ValueError` exception.

The optional argument *max_num_fields* is a flag for the maximum number of
fields to read. If set, then throws a :exc:`ValueError` if there are more
than *max_num_fields* fields read. Default is *None*.
The optional argument *max_num_fields* is the maximum number of fields to
read. If set, then throws a :exc:`ValueError` if there are more than
*max_num_fields* fields read.

Use the :func:`urllib.urlencode` function to convert such dictionaries into
query strings.
Expand All @@ -172,9 +172,9 @@ The :mod:`urlparse` module defines the following functions:
parsing errors. If false (the default), errors are silently ignored. If true,
errors raise a :exc:`ValueError` exception.

The optional argument *max_num_fields* is a flag for the maximum number of
fields to read. If set, then throws a :exc:`ValueError` if there are more
than *max_num_fields* fields read. Default is *None*.
The optional argument *max_num_fields* is the maximum number of fields to
read. If set, then throws a :exc:`ValueError` if there are more than
*max_num_fields* fields read.

Use the :func:`urllib.urlencode` function to convert such lists of pairs into
query strings.
Expand Down
0