@@ -190,7 +190,8 @@ or on combining URL components into a URL string.
190190 read. If set, then throws a :exc: `ValueError ` if there are more than
191191 *max_num_fields * fields read.
192192
193- The optional argument *separator * is the symbol to use for separating the query arguments. It defaults to `& `.
193+ The optional argument *separator * is the symbol to use for separating the
194+ query arguments. It defaults to ``& ``.
194195
195196 Use the :func: `urllib.parse.urlencode ` function (with the ``doseq ``
196197 parameter set to ``True ``) to convert such dictionaries into query
@@ -204,8 +205,10 @@ or on combining URL components into a URL string.
204205 Added *max_num_fields * parameter.
205206
206207 .. versionchanged :: 3.10
207- Added *separator * parameter with the default value of `& `. Python versions earlier than Python 3.10 allowed using both ";" and "&" as
208- query parameter separator. This has been changed to allow only a single separator key, with "&" as the default separator.
208+ Added *separator * parameter with the default value of ``& ``. Python
209+ versions earlier than Python 3.10 allowed using both ``; `` and ``& `` as
210+ query parameter separator. This has been changed to allow only a single
211+ separator key, with ``& `` as the default separator.
209212
210213
211214.. function :: parse_qsl(qs, keep_blank_values=False, strict_parsing=False, encoding='utf-8', errors='replace', max_num_fields=None, separator='&')
@@ -232,7 +235,8 @@ or on combining URL components into a URL string.
232235 read. If set, then throws a :exc: `ValueError ` if there are more than
233236 *max_num_fields * fields read.
234237
235- The optional argument *separator * is the symbol to use for separating the query arguments. It defaults to `& `.
238+ The optional argument *separator * is the symbol to use for separating the
239+ query arguments. It defaults to ``& ``.
236240
237241 Use the :func: `urllib.parse.urlencode ` function to convert such lists of pairs into
238242 query strings.
@@ -244,8 +248,10 @@ or on combining URL components into a URL string.
244248 Added *max_num_fields * parameter.
245249
246250 .. versionchanged :: 3.10
247- Added *separator * parameter with the default value of `& `. Python versions earlier than Python 3.10 allowed using both ";" and "&" as
248- query parameter separator. This has been changed to allow only a single separator key, with "&" as the default separator.
251+ Added *separator * parameter with the default value of ``& ``. Python
252+ versions earlier than Python 3.10 allowed using both ``; `` and ``& `` as
253+ query parameter separator. This has been changed to allow only a single
254+ separator key, with ``& `` as the default separator.
249255
250256
251257.. function :: urlunparse(parts)
0 commit comments