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 @@ -243,8 +243,8 @@ wider range of codecs when working with binary files:
243
243
.. function :: iterencode(iterator, encoding, errors='strict', **kwargs)
244
244
245
245
Uses an incremental encoder to iteratively encode the input provided by
246
- *iterator *. This function is a :term: ` generator ` .
247
- The *errors * argument (as well as any
246
+ *iterator *. * iterator * must yield :class: ` str ` objects .
247
+ This function is a :term: ` generator `. The *errors * argument (as well as any
248
248
other keyword argument) is passed through to the incremental encoder.
249
249
250
250
This function requires that the codec accept text :class: `str ` objects
@@ -255,8 +255,8 @@ wider range of codecs when working with binary files:
255
255
.. function :: iterdecode(iterator, encoding, errors='strict', **kwargs)
256
256
257
257
Uses an incremental decoder to iteratively decode the input provided by
258
- *iterator *. This function is a :term: ` generator ` .
259
- The *errors * argument (as well as any
258
+ *iterator *. * iterator * must yield :class: ` bytes ` objects .
259
+ This function is a :term: ` generator `. The *errors * argument (as well as any
260
260
other keyword argument) is passed through to the incremental decoder.
261
261
262
262
This function requires that the codec accept :class: `bytes ` objects
You can’t perform that action at this time.
0 commit comments