class documentation
class _FDHolder: (source)
A wrapper around a FD that will remember if it has been closed or not.
Method | __del__ |
If self._fd is unclosed, raise a warning. |
Method | __enter__ |
Undocumented |
Method | __exit__ |
Undocumented |
Method | __init__ |
Undocumented |
Method | close |
Close the FD. If it's already been closed, do nothing. |
Method | fileno |
Return the fileno of this FD. |
Instance Variable | _fd |
Undocumented |