R. David Murray <rdmur...@bitdance.com> added the comment: The documentation is, in principle, wrong. The actual authority for the "correct" implementation is PEP3101, which says the following:
The str.format() function will have a minimalist parser which only attempts to figure out when it is "done" with an identifier (by finding a '.' or a ']', or '}', etc.). Changing that specification would require a discussion on python-dev. ---------- nosy: +r.david.murray _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue12014> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com