Message254300
| Author |
eric.smith |
| Recipients |
abarry, docs@python, eric.smith, jayvdb |
| Date |
2015年11月07日.22:00:50 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1446933650.54.0.0954817497948.issue25179@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Since f-strings are not constant strings, they cannot be used as docstrings without some modifications to the compiler.
I'm not sure it's worth evaluating a docstring f-string at compile time to make them become docstrings: I can't think of a use case where this would be worthwhile. But maybe I'm not thinking hard enough. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2015年11月07日 22:00:50 | eric.smith | set | recipients:
+ eric.smith, docs@python, jayvdb, abarry |
| 2015年11月07日 22:00:50 | eric.smith | set | messageid: <1446933650.54.0.0954817497948.issue25179@psf.upfronthosting.co.za> |
| 2015年11月07日 22:00:50 | eric.smith | link | issue25179 messages |
| 2015年11月07日 22:00:50 | eric.smith | create |
|