Skip to content

Commit 51d6fb3

Browse files
Changing max_num_fields wording
1 parent 1c3f2f0 commit 51d6fb3

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

Doc/library/urllib.parse.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -158,9 +158,9 @@ or on combining URL components into a URL string.
158158
percent-encoded sequences into Unicode characters, as accepted by the
159159
:meth:`bytes.decode` method.
160160

161-
The optional argument *max_num_fields* is a flag for the maximum number of
162-
fields to read. If set, then throws a :exc:`ValueError` if there are more
163-
than *max_num_fields* fields read. Default is *None*.
161+
The optional argument *max_num_fields* is the maximum number of fields to
162+
read. If set, then throws a :exc:`ValueError` if there are more than
163+
*max_num_fields* fields read.
164164

165165
Use the :func:`urllib.parse.urlencode` function (with the ``doseq``
166166
parameter set to ``True``) to convert such dictionaries into query
@@ -194,9 +194,9 @@ or on combining URL components into a URL string.
194194
percent-encoded sequences into Unicode characters, as accepted by the
195195
:meth:`bytes.decode` method.
196196

197-
The optional argument *max_num_fields* is a flag for the maximum number of
198-
fields to read. If set, then throws a :exc:`ValueError` if there are more
199-
than *max_num_fields* fields read. Default is *None*.
197+
The optional argument *max_num_fields* is the maximum number of fields to
198+
read. If set, then throws a :exc:`ValueError` if there are more than
199+
*max_num_fields* fields read.
200200

201201
Use the :func:`urllib.parse.urlencode` function to convert such lists of pairs into
202202
query strings.

0 commit comments

Comments
 (0)