(self)
return self.type in (CHRTYPE, BLKTYPE, FIFOTYPE)
Return True if it is one of character device, block device or FIFO.
Return True if it is one of character device, block device or FIFO.
Return True if it is one of character device block device or FIFO .
def isdev(self):
        'Return True if it is one of character device, block device or FIFO.'
        return self.type in (CHRTYPE, BLKTYPE, FIFOTYPE)
def isdev ( self ) : return self . type in ( CHRTYPE , BLKTYPE , FIFOTYPE )