'{0.foo.bar:#} {key1.baz} {1.foo!r} {2.foo!r:3.5}'.format(object(), something(), another(), key1='foo')