]> granicus.if.org Git - python/commit
Simplified tuple returned by string._formatter_parser to only have
authorEric Smith <eric@trueblade.com>
Tue, 28 Aug 2007 11:15:20 +0000 (11:15 +0000)
committerEric Smith <eric@trueblade.com>
Tue, 28 Aug 2007 11:15:20 +0000 (11:15 +0000)
commit9e7c8da61c01279797197438111c33b3b8f2e3b2
tree7317ed891aa64e0d799b614108154abcdb3c542d
parent79710cdea1975c633c63bb25b25f92ac61a976e2
Simplified tuple returned by string._formatter_parser to only have
4 elements.  No need for old is_markup element, the same information
is indicated by literal_string being None.

Factored string.Formatter class to make subclasses easier to write.
Lib/string.py
Objects/stringlib/string_format.h