[Python-checkins] peps: Error in PEP example. Closes #13079.
eric.smith
python-checkins at python.org
Fri Sep 30 22:35:10 CEST 2011
http://hg.python.org/peps/rev/9a9bd05b9fca
changeset: 3952:9a9bd05b9fca
user: Eric V. Smith <eric at trueblade.com>
date: Fri Sep 30 16:35:03 2011 -0400
summary:
Error in PEP example. Closes #13079.
files:
pep-3101.txt | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/pep-3101.txt b/pep-3101.txt
--- a/pep-3101.txt
+++ b/pep-3101.txt
@@ -339,7 +339,7 @@
whose format specifiers might look something like the
arguments to the strftime() function:
- "Today is: {0:a b d H:M:S Y}".format(datetime.now())
+ "Today is: {0:%a %b %d %H:%M:%S %Y}".format(datetime.now())
For all built-in types, an empty format specification will produce
the equivalent of str(value). It is recommended that objects
--
Repository URL: http://hg.python.org/peps
More information about the Python-checkins
mailing list