-
Notifications
You must be signed in to change notification settings - Fork 2
Write the official cpython
documentation for t-strings
#2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Obsoleted all of these, moved to issue body. @lysnikolaou @AA-Turner would also love your input here. |
cpython
documentation for t-strings
During the PyCon sprints, we edited @davepeck's comment above to include more places that need to be adjusted. A couple of comments:
Agreed that we should try and change some places where f-strings are mentioned (some are listed below this bullet point). To be honest, I wouldn't give that much emphasis to adjusting all the occurences. It's perfectly fine for places in the docs to talk about f-strings without mentioning t-strings.
I agree that a "cookbook" is a good idea. We could probably add a "t-strings HOWTO" in the section with all the HOWTOs. |
cross-posting a related thread from the mothership: https://discuss.python.org/t/t-stringd-doc-pep-750-and-amish-barn-raising/93654 |
Dibs on Lexical analysis, then! If y'all have some work in progress in any state, please share by Wednesday -- my bigger aim is to improve string literal docs in general, so it'll conflict :) |
More TODOs added |
Documentation is starting to collect at https://github.com/t-strings/cpython/tree/docs/pep750-templatelib |
I wouldn't hold back on opening upstream PRs as well, once things get in shape, so that we can iterate with other documentarians as well. |
Just opened one! (update: just opened one based to the right branch) |
Uh oh!
There was an error while loading. Please reload this page.
We should write the offical document for https://docs.python.org/3/library/
string.templatelib
in the Library reference sectionast
docsBUILD_INTERPOLATION
andBUILD_TEMPLATE
to thedis
docs, probably somewhere nearBUILD_TUPLE
Template strings
section ofDoc/library/string.rst
to clarify that this is unrelated to t-strings (it's $-strings)lexical-analysis.rst
section with the_f-strings
role and make sure it covers t-strings appropriately.The text was updated successfully, but these errors were encountered: