Skip to content

Commit 03d4f21

Browse files
Bump docs
1 parent 9f028ea commit 03d4f21

3 files changed

Lines changed: 13 additions & 13 deletions

File tree

Doc/library/urllib.parse.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ or on combining URL components into a URL string.
225225
.. versionchanged:: 3.15
226226
Added the *missing_as_none* parameter.
227227

228-
.. versionchanged:: 3.15
228+
.. versionchanged:: 3.16
229229
Values for ``url`` and ``scheme`` other than strings, bytes, or ``None``
230230
raise :exc:`TypeError` if true or :exc:`DeprecationWarning` if false (to
231231
be changed to :exc:`TypeError` in future versions of Python).
@@ -325,7 +325,7 @@ or on combining URL components into a URL string.
325325
query parameter separator. This has been changed to allow only a single
326326
separator key, with ``&`` as the default separator.
327327

328-
.. versionchanged:: 3.15
328+
.. versionchanged:: 3.16
329329
Values for ``qs`` and ``separator`` other than strings, bytes, or
330330
``None`` raise :exc:`TypeError` if true or :exc:`DeprecationWarning` if
331331
false (to be changed to :exc:`TypeError` in future versions of Python).
@@ -389,7 +389,7 @@ or on combining URL components into a URL string.
389389
.. versionchanged:: 3.15
390390
Added the *keep_empty* parameter.
391391

392-
.. versionchanged:: 3.15
392+
.. versionchanged:: 3.16
393393
Items in ``parts`` other than strings, bytes, or ``None`` raise
394394
:exc:`TypeError` if true or :exc:`DeprecationWarning` if false (to be
395395
changed to :exc:`TypeError` in future versions of Python).
@@ -437,7 +437,7 @@ or on combining URL components into a URL string.
437437

438438
Behavior updated to match the semantics defined in :rfc:`3986`.
439439

440-
.. versionchanged:: 3.15
440+
.. versionchanged:: 3.16
441441
Values for ``base`` and ``url`` other than strings, bytes, or ``None``
442442
raise :exc:`TypeError` if true or :exc:`DeprecationWarning` if false (to
443443
be changed to :exc:`TypeError` in future versions of Python).
@@ -472,7 +472,7 @@ or on combining URL components into a URL string.
472472
.. versionchanged:: 3.15
473473
Added the *missing_as_none* parameter.
474474

475-
.. versionchanged:: 3.15
475+
.. versionchanged:: 3.16
476476
Values other than other than strings, bytes, or ``None`` raise
477477
:exc:`TypeError` if true or :exc:`DeprecationWarning` if false (to be
478478
changed to :exc:`TypeError` in future versions of Python).

Doc/whatsnew/3.15.rst

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2309,14 +2309,6 @@ New deprecations
23092309
:func:`issubclass`, but warnings were not previously emitted if it was
23102310
merely imported or accessed from the :mod:`!typing` module.
23112311

2312-
* :mod:`urllib`:
2313-
2314-
* Providing anything but a string, bytes object, or ``None`` to
2315-
:mod:`urllib.parse` functions expecting strings or bytes now raises
2316-
:exc:`DeprecationWarning` if the value tests false, or :exc:`TypeError` if
2317-
it tests true.
2318-
(Contributed by Jacob Walls in :issue:`19094`.)
2319-
23202312
* :mod:`webbrowser`:
23212313

23222314
* :class:`!webbrowser.MacOSXOSAScript` is deprecated in favour of

Doc/whatsnew/3.16.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -680,6 +680,14 @@ New deprecations
680680
open them one by one instead.
681681
(Contributed by Serhiy Storchaka in :gh:`152638`.)
682682

683+
* :mod:`urllib`:
684+
685+
* Providing anything but a string, bytes object, or ``None`` to
686+
:mod:`urllib.parse` functions expecting strings or bytes now raises
687+
:exc:`DeprecationWarning` if the value tests false, or :exc:`TypeError` if
688+
it tests true.
689+
(Contributed by Jacob Walls in :issue:`19094`.)
690+
683691
.. Add deprecations above alphabetically, not here at the end.
684692
685693
.. include:: ../deprecations/pending-removal-in-3.17.rst

0 commit comments

Comments
 (0)