Message137523
| Author |
r.david.murray |
| Recipients |
Ben.Wolfson, eric.araujo, eric.smith, mark.dickinson, petri.lehtinen, r.david.murray |
| Date |
2011年06月03日.15:13:16 |
| SpamBayes Score |
0.0022048112 |
| Marked as misclassified |
No |
| Message-id |
<1307113997.68.0.434319238356.issue12014@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. |
|