tgif/context.py
def life(self, value):
        """ Set current life, to maximum of 22.  Raise tgif.exception.GameOver
        if the life is negative.
        """
        self._life = value
        if self._life > 22:
            self._life = 22
        elif self._life < 0:
            raise exception.GameOver()
 Set current life, to maximum of 22.  Raise tgif.exception.GameOver
        if the life is negative.
        
Set current life, to maximum of 22.  Raise tgif.exception.GameOver
if the life is negative.
Set current life to maximum of 22 . Raise tgif . exception . GameOver if the life is negative .
def life(self, value):
        self._life = value
        if self._life > 22:
            self._life = 22
        elif self._life < 0:
            raise exception.GameOver()
def life ( self , value ) : self . _life = value if self . _life > 22 : self . _life = 22 elif self . _life < 0 : raise exception . GameOver ( )
Set current life, to maximum of 22.
Set current life to maximum of 22 .
""" Set current life, to maximum of 22.  Raise tgif.exception.GameOver
        if the life is negative.
        """
self
value