[Python-checkins] peps: More typos.

eric.smith python-checkins at python.org
Mon Aug 24 15:23:43 CEST 2015


https://hg.python.org/peps/rev/03c42fea80fe
changeset:   5984:03c42fea80fe
user:        Eric V. Smith <eric at trueblade.com>
date:        Mon Aug 24 09:20:50 2015 -0400
summary:
  More typos.

files:
  pep-0498.txt |  3 +--
  1 files changed, 1 insertions(+), 2 deletions(-)


diff --git a/pep-0498.txt b/pep-0498.txt
--- a/pep-0498.txt
+++ b/pep-0498.txt
@@ -80,7 +80,7 @@
 
 str.format() was added to address some of these problems with
 %-formatting. In particular, it uses normal function call syntax (and
-therefor supports mutliple parameters) and it is extensible through
+therefor supports multiple parameters) and it is extensible through
 the __format__() method on the object being converted to a string. See
 PEP-3101 for a detailed rationale. This PEP reuses much of the
 str.format() syntax and machinery, in order to provide continuity with
@@ -248,7 +248,6 @@
 But::
 
   >>> 'name={name:10}'.interpolate({'name:10': name})
-  'name=Guido     '
   Traceback (most recent call last):
     File "<stdin>", line 1, in <module>
   KeyError: 'name'

-- 
Repository URL: https://hg.python.org/peps


More information about the Python-checkins mailing list