Get the fd. This should only be called once.
(self)
| 53 | self._id = _resource_sharer.register(send, close) |
| 54 | |
| 55 | def detach(self): |
| 56 | '''Get the fd. This should only be called once.''' |
| 57 | with _resource_sharer.get_connection(self._id) as conn: |
| 58 | return reduction.recv_handle(conn) |
| 59 | |
| 60 | |
| 61 | class _ResourceSharer(object): |
nothing calls this directly
no test coverage detected