| 23 | class PyStream : public stream::Stream { |
| 24 | public: |
| 25 | PyStream(py::function iterable_factory) |
| 26 | : iterable_factory_(iterable_factory) { |
| 27 | py::gil_scoped_acquire gil; |
| 28 | next_ = iterable_factory_().attr("__iter__")().attr("__next__"); |
| 29 | } |
| 30 | ~PyStream() { |
| 31 | py::gil_scoped_acquire gil; |
| 32 |
nothing calls this directly
no outgoing calls
no test coverage detected