File tree Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change 1+ def
Original file line number Diff line number Diff line change @@ -164,9 +164,7 @@ <h1 class="font-serif font-bold text-cloudbank text-3xl">
164164 Maybe for some reason you want to render your static parts in
165165 lowercase and your substitions in uppercase?
166166 </ p >
167- < p >
168- No problem:
169- </ p >
167+ < p > No problem:</ p >
170168 < pre > < code class ="language-python "> name = "World"
171169my_template = t"Hello {name}!"
172170
@@ -183,10 +181,10 @@ <h1 class="font-serif font-bold text-cloudbank text-3xl">
183181# "hello WORLD!"
184182</ code > </ pre >
185183 < p >
186- Okay, you probably don't want to do exactly < i > that</ i > . But this example
187- demonstrates that the < i > power of t-strings comes not from the template
188- itself, but from the code you (or someone else!) writes to process it
189- into a string</ i > .
184+ Okay, you probably don't want to do exactly < i > that</ i > . But this
185+ example demonstrates that the power of t-strings comes not from the
186+ template itself, but from the code you (or someone else!) writes to
187+ process it into a string.
190188 </ p >
191189 < p > So why < i > do</ i > we want t-strings?</ p >
192190 < p > Let's start with the useful.</ p >
You can’t perform that action at this time.
0 commit comments