]> granicus.if.org Git - python/commit
bpo-32735: Fix typo in f-strings datetime format specifier example (GH-5464) (GH...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 31 Jan 2018 22:17:02 +0000 (14:17 -0800)
committerMariatta <Mariatta@users.noreply.github.com>
Wed, 31 Jan 2018 22:17:02 +0000 (17:17 -0500)
commit581ce25e1ffa374e62547ef266b6326bee0c54e5
tree79ba64f635d1efcd0c0261d7f720da4ba0cdc1d8
parent85a92d00bd278022cc00fda6b124c06f614c5ebb
bpo-32735: Fix typo in f-strings datetime format specifier example (GH-5464) (GH-5465)

The f-string example for using datetime format specifier does not match the given output.
Changed the format from %b to %B so it matches the output of "January".
(cherry picked from commit b299393cc372f3ecbef4304f8eaa4c7838e975ca)

Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
Doc/reference/lexical_analysis.rst