 |
python - Not enough arguments for format string - Stack Overflow
Your code would fail if self.turnnow is an empty tuple: >>> var = () >>> print "%s" % (var) Traceback (most recent call last): File "", line 2, in TypeError: not enough arguments for format string >>> print "%s" % (var,) () This is because a parenthesize
stackoverflow.com |
 |