File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -239,8 +239,8 @@ wider range of codecs when working with binary files:
239
239
.. function :: iterencode(iterator, encoding, errors='strict', **kwargs)
240
240
241
241
Uses an incremental encoder to iteratively encode the input provided by
242
- *iterator *. This function is a :term: ` generator ` .
243
- The *errors * argument (as well as any
242
+ *iterator *. * iterator * must yield :class: ` str ` objects .
243
+ This function is a :term: ` generator `. The *errors * argument (as well as any
244
244
other keyword argument) is passed through to the incremental encoder.
245
245
246
246
This function requires that the codec accept text :class: `str ` objects
@@ -251,8 +251,8 @@ wider range of codecs when working with binary files:
251
251
.. function :: iterdecode(iterator, encoding, errors='strict', **kwargs)
252
252
253
253
Uses an incremental decoder to iteratively decode the input provided by
254
- *iterator *. This function is a :term: ` generator ` .
255
- The *errors * argument (as well as any
254
+ *iterator *. * iterator * must yield :class: ` bytes ` objects .
255
+ This function is a :term: ` generator `. The *errors * argument (as well as any
256
256
other keyword argument) is passed through to the incremental decoder.
257
257
258
258
This function requires that the codec accept :class: `bytes ` objects
You can’t perform that action at this time.
0 commit comments