Message341378
Serhiy's point about how special this is is very valid. It's so special that I can't figure out where to document it. f-strings are really only documented in Doc/reference/lexical_analysis.rst, and !d details, especially the format/repr distinction, seems like too much information for that document. But I could be wrong about that.
And since this feature can't be used in str.format(), it can't be documented in Doc/library/string.rst. In fact, it should contain a note about !d not applying.
Rather than make the documentation worse, I think I'll just open a separate issue for it when I commit this. Maybe someone else will have some ideas. |
|
Date |
User |
Action |
Args |
2019-05-04 08:40:31 | eric.smith | set | recipients:
+ eric.smith, gregory.p.smith, paul.moore, steven.daprano, dirn, serhiy.storchaka, xtreak |
2019-05-04 08:40:31 | eric.smith | set | messageid: <1556959231.13.0.702524514521.issue36774@roundup.psfhosted.org> |
2019-05-04 08:40:31 | eric.smith | link | issue36774 messages |
2019-05-04 08:40:30 | eric.smith | create | |
|