title: Not enough arguments for format string
body: <p>I have such code in Python:</p>
  
  <pre><code>def send_start(self, player):
      for p in self.players:
          player["socket"].send_cmd('&lt;player id="%s" name="%s" you="%s" avatar="*.png" bank="%s" /&gt;'%(self.players.index(p)+1, p['name'], int(player["pid"]==p["pid"]), 0))
      player["socket"].send_cmd('&lt;game playerid="%s" /&gt;'%(self.turnnow))
      player["socket"].send_cmd("&lt;start /&gt;")
  </code></pre>
  
  <p>And the error is in the title of this post. What's wrong?</p>