changeset 84666:a9f7c2d49149 2.7

Issue #18448: Fix a typo in Demo/newmetaclasses/Eiffel.py.
author Serhiy Storchaka <storchaka@gmail.com>
date Tue, 16 Jul 2013 22:11:28 +0300
parents d635e94948a6
children 91374660355a
files Demo/newmetaclasses/Eiffel.py Misc/NEWS
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Demo/newmetaclasses/Eiffel.py	Tue Jul 16 02:34:19 2013 -0700
+++ b/Demo/newmetaclasses/Eiffel.py	Tue Jul 16 22:11:28 2013 +0300
@@ -29,7 +29,7 @@
             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
--- a/Misc/NEWS	Tue Jul 16 02:34:19 2013 -0700
+++ b/Misc/NEWS	Tue Jul 16 22:11:28 2013 +0300
@@ -77,6 +77,8 @@
 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.