From eb9b98c9323638c4a4271d00509648fe8c9be783 Mon Sep 17 00:00:00 2001 From: "Eric V. Smith" Date: Mon, 24 Aug 2015 09:20:50 -0400 Subject: [PATCH] More typos. --- pep-0498.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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'