Used to invalidate/disable this lazy stream. Replace the producer with an empty list. Any leftover bytes that have already been read will still be reported upon read() and/or next().
(self)
| 489 | return output |
| 490 | |
| 491 | def close(self): |
| 492 | """ |
| 493 | Used to invalidate/disable this lazy stream. |
| 494 | |
| 495 | Replace the producer with an empty list. Any leftover bytes that have |
| 496 | already been read will still be reported upon read() and/or next(). |
| 497 | """ |
| 498 | self._producer = [] |
| 499 | |
| 500 | def __iter__(self): |
| 501 | return self |
no outgoing calls
no test coverage detected