#NEWLINE# def readable( self ) : #NEWLINE# #INDENT# 'Return whether object was opened for reading.\n\n        If False, read() will raise IOError.\n\n        ' #NEWLINE# mode = mode . _mode #NEWLINE# return ( ( 'r' in mode ) or ( '+' in mode ) )