##// END OF EJS Templates
Backport PR #8985: override vformat instead of _vformat...
Min RK -
Show More
@@ -558,9 +558,7 b' class FullEvalFormatter(Formatter):'
558 558 """
559 559 # copied from Formatter._vformat with minor changes to allow eval
560 560 # and replace the format_spec code with slicing
561 def _vformat(self, format_string, args, kwargs, used_args, recursion_depth):
562 if recursion_depth < 0:
563 raise ValueError('Max string recursion exceeded')
561 def vformat(self, format_string, args, kwargs):
564 562 result = []
565 563 for literal_text, field_name, format_spec, conversion in \
566 564 self.parse(format_string):
General Comments 0
You need to be logged in to leave comments. Login now