<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Apr 5, 2015 at 12:00 AM, Steven D'Aprano <span dir="ltr"><<a href="mailto:steve@pearwood.info" target="_blank">steve@pearwood.info</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div id=":2i5" class="" style="overflow:hidden">But frankly, I would be satisfied with the list and meaning of format<br>
codes being documented somewhere where I can inspect it at runtime using<br>
help(), without having to run `man strftime` on a Linux system or search<br>
the Internet.</div></blockquote></div><br>That's easy. We added format codes to help('time.strftime') a couple years ago [1]. We can easily add the same to datetime.strftime. Feel free to open an issue. We don't need a PEP for that. :-)</div><div class="gmail_extra"><br></div><div class="gmail_extra">[1] <a href="http://bugs.python.org/issue9650">http://bugs.python.org/issue9650</a></div></div>