Eric V. Smith added the comment:

It's in string.py, so it would be easy just to add a namedtuple there:

class Formatter:
...
    def parse(self, format_string):
        return _string.formatter_parser(format_string)

I don't see a need to add a structseq to _string, since it's a private API.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue29696>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to