Re:Python Idioms [pdf]
by macbony on Thursday January 30, 2014 @04:28PM
(#7153474)
I prefer
.format() is very versatile.
You also do not need to know what type is being passed in as the __str__ method is used for .format().
[ Parent
| on HN ]
There are no comments on this comment yet.