> > http://hg.python.org/cpython/rev/61626c3f3a54 > >... > > - assert (b -a)>= pause > > + assert (b - a)>= pause, "{{}}< {{}}".format(b - a, pause) > > > + assert (b - a)>= pause, "{{}}< {{}}".format(b - a, pause) > > >>> a,b,pause = 0,0,1 > >>> "{{}} < {{}}".format(b - a, pause) > '{} < {}' > > I suspect you want 1 or 3 braces. > > Terry
Nope, I really want {{}}: the diff is on a template using to generate Python code executed in a subprocess. Victor _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com