From: Collin Winter Date: Wed, 29 Aug 2007 23:37:10 +0000 (+0000) Subject: (no commit message) X-Git-Tag: v3.0a1~117 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e0281cab810c30a23cf2490704e0f85aa4751e83;p=thirdparty%2FPython%2Fcpython.git --- diff --git a/Lib/string.py b/Lib/string.py index de364de56b50..a061558d7657 100644 --- a/Lib/string.py +++ b/Lib/string.py @@ -231,6 +231,7 @@ class Formatter: # format the object and append to the result result.append(self.format_field(obj, format_spec)) + self.check_unused_args(used_args, args, kwargs) self.check_unused_args(used_args, args, kwargs) return ''.join(result)