class documentation

class _NullFileDescriptorReservation: (source)

View In Hierarchy

A null implementation of _IFileDescriptorReservation.

Method __enter__ Do nothing. See _IFileDescriptorReservation.__enter__
Method __exit__ Do nothing. See _IFileDescriptorReservation.__exit__.
Method available The reserved file is never available. See _IFileDescriptorReservation.available.
Method reserve Do nothing. See _IFileDescriptorReservation.reserve.
def __enter__(self): (source)
def __exit__(self, excType, excValue, traceback): (source)

Do nothing. See _IFileDescriptorReservation.__exit__.

Parameters
excTypeSee object.__exit__
excValueSee object.__exit__
tracebackSee object.__exit__
def available(self): (source)

The reserved file is never available. See _IFileDescriptorReservation.available.

Returns
False
def reserve(self): (source)