original_docstring: 
          Checks if a state is done or has called for a game quit.
          State is flipped if neccessary and State.update is called.
          
docstring: Checks if a state is done or has called for a game quit.
  State is flipped if neccessary and State.update is called.
docstring_tokens: Checks if a state is done or has called for a game quit . State is flipped if neccessary and State . update is called .
code: def update(self, keys, now):
          """
          Checks if a state is done or has called for a game quit.
          State is flipped if neccessary and State.update is called.
          """
          self.now = now
          if self.state.quit:
              self.done = True
          elif self.state.done:
              self.flip_state()
          self.state.update(keys, now)
code_tokens: def update ( self , keys , now ) : self . now = now if self . state . quit : self . done = True elif self . state . done : self . flip_state ( ) self . state . update ( keys , now )
short_docstring: Checks if a state is done or has called for a game quit.
short_docstring_tokens: Checks if a state is done or has called for a game quit .
comment: """
          Checks if a state is done or has called for a game quit.
          State is flipped if neccessary and State.update is called.
          """