Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/c/h/Chess-HEAD/src/main.py   Chess(Download)
            game = models.Game(whitePlayer = invite.toUser, blackPlayer = invite.fromUser)
          game.put()
          notify.sendYourMove(game.whitePlayer, game.blackPlayer, str(game.key()))
    if self.request.get('submit') == 'Reject':
      invites = self.request.get_all('select')
            otherPlayer = game.whitePlayer
          if game.state == models.NOT_FINISHED:
            notify.sendYourMove(movePlayer, otherPlayer, str(game.key()))
        else:
          logging.warn('Out of sync move, move list length: %s, move number: %s, state: %s' % (len(game.moves), moveNum, game.state))