[issue35831] Format Spec example says limited to 3.1+ but works in 2.7

2019-01-25 Thread Mitchell L Model
Change by Mitchell L Model : -- assignee: -> docs@python components: +Documentation nosy: +docs@python ___ Python tracker <https://bugs.python.org/issu

[issue35831] Format Spec example says limited to 3.1+ but works in 2.7

2019-01-25 Thread Mitchell L Model
New submission from Mitchell L Model : https://docs.python.org/3/library/string.html#format-examples includes this line: '{}, {}, {}'.format('a', 'b', 'c') # 3.1+ only This does in fact work in 2.7. I don't see anything special about this -- seems an entirely straightforward format