News for hackers. Stuff that matters.
Re:New string formatting in Python by richardwhiuk on Sunday January 03, 2016 @08:10PM (#10833480)
+ doesn't call __str__ internally.

e.g the following is an error.

  a = 4
  "a: " + a
You have to do:

  "a: " + str(a)

There are no comments on this comment yet.