(self, num, mode=b'IOAR')
return self.get(num, mode)
Get the file object for an Integer file number and check allowed mode.
Get the file object for an Integer file number and check allowed mode.
Get the file object for an Integer file number and check allowed mode .
def _get_from_integer(self, num, mode=b'IOAR'):
        """Get the file object for an Integer file number and check allowed mode."""
        num = values.to_int(num, unsigned=True)
        error.range_check(0, 255, num)
        return self.get(num, mode)
def _get_from_integer ( self , num , mode = b'IOAR' ) : num = values . to_int ( num , unsigned = True ) error . range_check ( 0 , 255 , num ) return self . get ( num , mode )