See if you can add a patch for this too: >>> print( 'one = {x}s, two = {y}s'.format(**nt)) Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: format() argument after ** must be a mapping, not Nt