parameters: (self)
return_statement: return self._mode in (_MODE_READ, _MODE_READ_EOF)
docstring: Return whether the file was opened for reading.
docstring_summary: Return whether the file was opened for reading.
docstring_tokens: Return whether the file was opened for reading .
function: def readable(self):
          """Return whether the file was opened for reading."""
          self._check_not_closed()
          return self._mode in (_MODE_READ, _MODE_READ_EOF)
function_tokens: def readable ( self ) : self . _check_not_closed ( ) return self . _mode in ( _MODE_READ , _MODE_READ_EOF )