@@ -221,9 +221,9 @@ or on combining URL components into a URL string.
221221 Added the *missing_as_none * parameter.
222222
223223 .. versionchanged :: 3.15
224- Values for ``url `` and ``scheme `` other than strings or bytes raise
225- :exc: `TypeError ` if true or :exc: `DeprecationWarning ` if false (to be
226- changed to :exc: `TypeError ` in future versions of Python).
224+ Values for ``url `` and ``scheme `` other than strings, bytes, or `` None ``
225+ raise :exc: `TypeError ` if true or :exc: `DeprecationWarning ` if false (to
226+ be changed to :exc: `TypeError ` in future versions of Python).
227227
228228.. _WHATWG spec : https://url.spec.whatwg.org/#concept-basic-url-parser
229229
@@ -321,9 +321,9 @@ or on combining URL components into a URL string.
321321 separator key, with ``& `` as the default separator.
322322
323323 .. versionchanged :: 3.15
324- Values for ``qs `` and ``separator `` other than strings or bytes raise
325- :exc: `TypeError ` if true or :exc: `DeprecationWarning ` if false (to be
326- changed to :exc: `TypeError ` in future versions of Python).
324+ Values for ``qs `` and ``separator `` other than strings, bytes, or
325+ `` None `` raise :exc: `TypeError ` if true or :exc: `DeprecationWarning ` if
326+ false (to be changed to :exc: `TypeError ` in future versions of Python).
327327
328328
329329.. function :: urlunsplit(parts)
@@ -385,7 +385,7 @@ or on combining URL components into a URL string.
385385 Added the *keep_empty * parameter.
386386
387387 .. versionchanged :: 3.15
388- Items in ``parts `` other than strings or bytes raise
388+ Items in ``parts `` other than strings, bytes, or `` None `` raise
389389 :exc: `TypeError ` if true or :exc: `DeprecationWarning ` if false (to be
390390 changed to :exc: `TypeError ` in future versions of Python).
391391
@@ -433,9 +433,9 @@ or on combining URL components into a URL string.
433433 Behavior updated to match the semantics defined in :rfc: `3986 `.
434434
435435 .. versionchanged :: 3.15
436- Values for ``base `` and ``url `` other than strings or bytes raise
437- :exc: `TypeError ` if true or :exc: `DeprecationWarning ` if false (to be
438- changed to :exc: `TypeError ` in future versions of Python).
436+ Values for ``base `` and ``url `` other than strings, bytes, or `` None ``
437+ raise :exc: `TypeError ` if true or :exc: `DeprecationWarning ` if false (to
438+ be changed to :exc: `TypeError ` in future versions of Python).
439439
440440
441441.. function :: urldefrag(url, *, missing_as_none=False)
@@ -468,7 +468,7 @@ or on combining URL components into a URL string.
468468 Added the *missing_as_none * parameter.
469469
470470 .. versionchanged :: 3.15
471- Values other than strings or bytes raise
471+ Values other than other than strings, bytes, or `` None `` raise
472472 :exc: `TypeError ` if true or :exc: `DeprecationWarning ` if false (to be
473473 changed to :exc: `TypeError ` in future versions of Python).
474474
0 commit comments