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
def __init__(self, fd):
Undocumented
def fileno(self):

Return the fileno of this FD.

def close(self):

Close the FD. If it's already been closed, do nothing.

def __del__(self):

If self._fd is unclosed, raise a warning.

def __enter__(self):
Undocumented
def __exit__(self, exc_type, exc_value, traceback):
Undocumented
API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.