forked from hans/Nominatim
assert in combination with format() does the right thing and calls the __str__() method only when an assertion hits.
assert in combination with format() does the right thing and calls the __str__() method only when an assertion hits.