def foo(): return "foo" u'a%sf' % foo()