[Python-checkins] peps: Partial fix for issue 25206: Fixed format() call.
eric.smith
python-checkins at python.org
Mon Sep 21 23:16:33 CEST 2015
https://hg.python.org/peps/rev/831276834e4b
changeset: 6092:831276834e4b
user: Eric V. Smith <eric at trueblade.com>
date: Mon Sep 21 17:16:30 2015 -0400
summary:
Partial fix for issue 25206: Fixed format() call.
files:
pep-0498.txt | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/pep-0498.txt b/pep-0498.txt
--- a/pep-0498.txt
+++ b/pep-0498.txt
@@ -298,7 +298,7 @@
Might be be evaluated as::
- 'abc' + format(expr1, spec1) + format(repr(expr2)) + 'def' + format(str(expr3)) + 'ghi'
+ 'abc' + format(expr1, spec1) + format(repr(expr2), spec2) + 'def' + format(str(expr3)) + 'ghi'
Expression evaluation
---------------------
--
Repository URL: https://hg.python.org/peps
More information about the Python-checkins
mailing list