##// END OF EJS Templates
Add comment about string formatting changes in Python 3.4
Thomas Kluyver -
Show More
@@ -517,6 +517,9 b' class EvalFormatter(Formatter):'
517 v = eval(name, kwargs)
517 v = eval(name, kwargs)
518 return v, name
518 return v, name
519
519
520 #XXX: As of Python 3.4, the format string parsing no longer splits on a colon
521 # inside [], so EvalFormatter can handle slicing. Once we only support 3.4 and
522 # above, it should be possible to remove FullEvalFormatter.
520
523
521 @skip_doctest_py3
524 @skip_doctest_py3
522 class FullEvalFormatter(Formatter):
525 class FullEvalFormatter(Formatter):
General Comments 0
You need to be logged in to leave comments. Login now