parameters: (self)
docstring: Return the current message.  Raise Error when there is none.
docstring_summary: Return the current message.  Raise Error when there is none.
docstring_tokens: Return the current message . Raise Error when there is none .
function: def getcurrent(self):
          """Return the current message.  Raise Error when there is none."""
          seqs = self.getsequences()
          try:
              return max(seqs['cur'])
          except (ValueError, KeyError):
              raise Error, "no cur message"
function_tokens: def getcurrent ( self ) : seqs = self . getsequences ( ) try : return max ( seqs [ 'cur' ] ) except ( ValueError , KeyError ) : raise Error , "no cur message"