[Python-checkins] peps: Fix 2 typos. Thanks Johan Musaeus Bruun.

eric.smith python-checkins at python.org
Sat Sep 12 12:48:25 CEST 2015


https://hg.python.org/peps/rev/ef508976b305
changeset: 6048:ef508976b305
user: Eric V. Smith <eric at trueblade.com>
date: Sat Sep 12 06:48:29 2015 -0400
summary:
 Fix 2 typos. Thanks Johan Musaeus Bruun.
files:
 pep-0498.txt | 4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/pep-0498.txt b/pep-0498.txt
--- a/pep-0498.txt
+++ b/pep-0498.txt
@@ -294,7 +294,7 @@
 
 Might be be evaluated as::
 
- 'abc' + expr1.__format__(spec1) + repr(expr2).__format__(spec2) + 'def' + str(spec3).__format__('') + 'ghi'
+ 'abc' + expr1.__format__(spec1) + repr(expr2).__format__(spec2) + 'def' + str(expr3).__format__('') + 'ghi'
 
 Expression evaluation
 ---------------------
@@ -372,7 +372,7 @@
 While the exact method of this run time concatenation is unspecified,
 the above code might evaluate to::
 
- 'ab' + x.__format__('') + '{c}' + 'str<' + y.__format__('^4') + 'de'
+ 'ab' + x.__format__('') + '{c}' + 'str<' + y.__format__('^4') + '>de'
 
 Error handling
 --------------
-- 
Repository URL: https://hg.python.org/peps


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /