new style class and new style format string -> py3k

Python 3.
New style class: https://docs.python.org/2/reference/datamodel.html#new-style-and-classic-classes
New format string: https://docs.python.org/3/library/string.html#format-examples