Show More
@@ -517,6 +517,9 b' class EvalFormatter(Formatter):' | |||
|
517 | 517 | v = eval(name, kwargs) |
|
518 | 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 | 524 | @skip_doctest_py3 |
|
522 | 525 | class FullEvalFormatter(Formatter): |
General Comments 0
You need to be logged in to leave comments.
Login now