mirror of
https://github.com/python/cpython.git
synced 2025-08-05 01:18:26 +00:00

* Restore support of None and other false values.
* Raise TypeError for non-zero integers and non-empty sequences.
The regressions were introduced in gh-74668
(bdba8ef42b
).
4 lines
232 B
ReStructuredText
4 lines
232 B
ReStructuredText
Restore support of ``None`` and other false values in :mod:`urllib.parse`
|
|
functions :func:`~urllib.parse.parse_qs` and
|
|
:func:`~urllib.parse.parse_qsl`. Also, they now raise a TypeError for
|
|
non-zero integers and non-empty sequences.
|