twisted.python.test.test_sendmsg._FDHolder(object) class documentationtwisted.python.test.test_sendmsg
(View In Hierarchy)
A wrapper around a FD that will remember if it has been closed or not.
| Method | __init__ | Undocumented |
| Method | fileno | Return the fileno of this FD. |
| Method | close | Close the FD. If it's already been closed, do nothing. |
| Method | __del__ | If self._fd is unclosed, raise a warning. |
| Method | __enter__ | Undocumented |
| Method | __exit__ | Undocumented |