diff --git a/pep-0498.txt b/pep-0498.txt index b52b23c59..f5ef75aad 100644 --- a/pep-0498.txt +++ b/pep-0498.txt @@ -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 "", line 1, in KeyError: 'name'