-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
bpo-35116: Adding Doc/library entries for cgi.FieldStorage max_num_fields #10247
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
bpo-35116: Adding Doc/library entries for cgi.FieldStorage max_num_fields #10247
Conversation
a4d2363 to
4823ae0
Compare
4823ae0 to
98ace4b
Compare
|
For your review @vstinner from your comment in #9969 (comment). |
Doc/library/urllib.parse.rst
Outdated
| Add *encoding* and *errors* parameters. | ||
|
|
||
| .. versionchanged:: 3.8 | ||
| Added *max_num_fields* param. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please replace "param" with "parameter.
Doc/library/urllib.parse.rst
Outdated
| Add *encoding* and *errors* parameters. | ||
|
|
||
| .. versionchanged:: 3.8 | ||
| Added *max_num_fields* param. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ditto.
Doc/library/urllib.parse.rst
Outdated
| percent-encoded sequences into Unicode characters, as accepted by the | ||
| :meth:`bytes.decode` method. | ||
|
|
||
| The optional argument *max_num_fields* is a flag for the maximum number of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would just say "The optional argument max_num_fields is the maximum number of ..."
Note: wait until this PR is merged before updating the 3 other PRs :-)
Doc/library/urllib.parse.rst
Outdated
|
|
||
| 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*. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Default is None." IMHO it's redundant with the function prototype and can be removed.
Doc/library/urllib.parse.rst
Outdated
|
|
||
| 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*. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ditto.
vstinner
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
|
You can now update the 3 other PRs :-) |
https://bugs.python.org/issue35116