(self, msg=None)
Internal: raise UnsupportedOperation if file is not readable
Internal: raise UnsupportedOperation if file is not readable
Internal : raise UnsupportedOperation if file is not readable
def _checkReadable(self, msg=None):
        """Internal: raise UnsupportedOperation if file is not readable
        """
        if not self.readable():
            raise UnsupportedOperation("File or stream is not readable."
                                       if msg is None else msg)
def _checkReadable ( self , msg = None ) : if not self . readable ( ) : raise UnsupportedOperation ( "File or stream is not readable." if msg is None else msg )