I have such code in Python:
def send_start(self, player):
for p in self.players:
player[\"socket\"].send_cmd(\'
EDIT: Disregard this answer, it cannot be the problem. Keeping for the comments.
Try if replacing
(self.turnnow)
with
(self.turnnow,)
helps (i.e. adding a trailing comma). The way it is now that's not a tuple and parens are merely decorative. Might not be the case since you didn't provide line number — have to guess.