Skip to content

Commit

Permalink
bpo-32996: Improve What's New in 3.7. (python#5983)
Browse files Browse the repository at this point in the history
  • Loading branch information
serhiy-storchaka committed Mar 11, 2018
1 parent 9cf8c42 commit 51302a5
Show file tree
Hide file tree
Showing 2 changed files with 131 additions and 123 deletions.
6 changes: 6 additions & 0 deletions Doc/library/cgi.rst
Expand Up @@ -289,11 +289,13 @@ algorithms implemented in this module in other circumstances.
This function is deprecated in this module. Use :func:`urllib.parse.parse_qs`
instead. It is maintained here only for backward compatibility.


.. function:: parse_qsl(qs, keep_blank_values=False, strict_parsing=False)

This function is deprecated in this module. Use :func:`urllib.parse.parse_qsl`
instead. It is maintained here only for backward compatibility.


.. function:: parse_multipart(fp, pdict, encoding="utf-8")

Parse input of type :mimetype:`multipart/form-data` (for file uploads).
Expand All @@ -309,6 +311,10 @@ algorithms implemented in this module in other circumstances.
uploaded --- in that case, use the :class:`FieldStorage` class instead
which is much more flexible.

.. versionchanged:: 3.7
Added the *encoding* parameter. For non-file fields, the value is now
a list of strings, not bytes.


.. function:: parse_header(string)

Expand Down

0 comments on commit 51302a5

Please sign in to comment.