| 28 | next_ = iterable_factory_().attr("__iter__")().attr("__next__"); |
| 29 | } |
| 30 | ~PyStream() { |
| 31 | py::gil_scoped_acquire gil; |
| 32 | |
| 33 | iterable_factory_.release().dec_ref(); |
| 34 | next_.release().dec_ref(); |
| 35 | } |
| 36 | |
| 37 | virtual void reset() { |
| 38 | py::gil_scoped_acquire gil; |
nothing calls this directly
no outgoing calls
no test coverage detected