<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Dec 19, 2017 at 8:47 AM, Stephen J. Turnbull <span dir="ltr"><<a href="mailto:turnbull.stephen.fw@u.tsukuba.ac.jp" target="_blank">turnbull.stephen.fw@u.tsukuba.ac.jp</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I don't see any reason not to document tips and tricks with f-strings,<br>
and this is a nice and useful example.  But it looks like TOOWTDI to<br>
me.  The syntax is documented (6.1.3.1 in the Library Reference),<br>
along with a specific relevant example ("Aligning the text and<br>
specifying a width" in 6.1.3.2).<br>
<br>
So -1 on putting the recipe in the reference docs.  I really don't<br>
think this kind of information belongs in a PEP for sure, and probably<br>
not even in the Library Reference. </blockquote><div><br></div><div>The docs (and I think PEP) have been updated to clearly state that f-strings use the same formatting specifiers as .format(), and have links to those docs.</div><div><br></div><div>So I think we're good.</div><div> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> The Tutorial might be a good place<br>
for it, though.<br></blockquote><div><br></div><div>yup.</div><div><br></div><div>-CHB</div><div> </div></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><br>Christopher Barker, Ph.D.<br>Oceanographer<br><br>Emergency Response Division<br>NOAA/NOS/OR&R            (206) 526-6959   voice<br>7600 Sand Point Way NE   (206) 526-6329   fax<br>Seattle, WA  98115       (206) 526-6317   main reception<br><br><a href="mailto:Chris.Barker@noaa.gov" target="_blank">Chris.Barker@noaa.gov</a></div>
</div></div>