More typos.

This commit is contained in:
Eric V. Smith 2015-08-24 09:20:50 -04:00
parent 9d28e9ee71
commit eb9b98c932
1 changed files with 1 additions and 2 deletions

View File

@ -80,7 +80,7 @@ To be defensive, the following code should be used::
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 @@ part of this lookup. Thus::
But::
>>> 'name={name:10}'.interpolate({'name:10': name})
'name=Guido '
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
KeyError: 'name'