From: Serhiy Storchaka Date: Tue, 16 Jul 2013 19:11:28 +0000 (+0300) Subject: Issue #18448: Fix a typo in Demo/newmetaclasses/Eiffel.py. X-Git-Tag: v2.7.6rc1~292 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f52d574481727e5a1020f4238b9f55fc9c67b185;p=thirdparty%2FPython%2Fcpython.git Issue #18448: Fix a typo in Demo/newmetaclasses/Eiffel.py. --- diff --git a/Demo/newmetaclasses/Eiffel.py b/Demo/newmetaclasses/Eiffel.py index 730a85da5f71..f3f116fe155d 100644 --- a/Demo/newmetaclasses/Eiffel.py +++ b/Demo/newmetaclasses/Eiffel.py @@ -29,7 +29,7 @@ class EiffelBaseMetaClass(type): pre = dict.get("%s_pre" % m) post = dict.get("%s_post" % m) if pre or post: - dict[k] = cls.make_eiffel_method(dict[m], pre, post) + dict[m] = cls.make_eiffel_method(dict[m], pre, post) class EiffelMetaClass1(EiffelBaseMetaClass): # an implementation of the "eiffel" meta class that uses nested functions diff --git a/Misc/NEWS b/Misc/NEWS index 0b2dadfb81ec..5283da69c173 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -77,6 +77,8 @@ Library Tools/Demos ----------- +- Issue #18448: Fix a typo in Demo/newmetaclasses/Eiffel.py. + - Issue #12990: The "Python Launcher" on OSX could not launch python scripts that have paths that include wide characters.