(self)
return self.type == CHRTYPE
Return True if it is a character device.
Return True if it is a character device.
Return True if it is a character device .
def ischr(self):
        'Return True if it is a character device.'
        return self.type == CHRTYPE
def ischr ( self ) : return self . type == CHRTYPE