Commit f52d5744 authored by Serhiy Storchaka's avatar Serhiy Storchaka

Issue #18448: Fix a typo in Demo/newmetaclasses/Eiffel.py.

parent b77ed2c5
...@@ -29,7 +29,7 @@ class EiffelBaseMetaClass(type): ...@@ -29,7 +29,7 @@ class EiffelBaseMetaClass(type):
pre = dict.get("%s_pre" % m) pre = dict.get("%s_pre" % m)
post = dict.get("%s_post" % m) post = dict.get("%s_post" % m)
if pre or post: 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): class EiffelMetaClass1(EiffelBaseMetaClass):
# an implementation of the "eiffel" meta class that uses nested functions # an implementation of the "eiffel" meta class that uses nested functions
......
...@@ -77,6 +77,8 @@ Library ...@@ -77,6 +77,8 @@ Library
Tools/Demos Tools/Demos
----------- -----------
- Issue #18448: Fix a typo in Demo/newmetaclasses/Eiffel.py.
- Issue #12990: The "Python Launcher" on OSX could not launch python scripts - Issue #12990: The "Python Launcher" on OSX could not launch python scripts
that have paths that include wide characters. that have paths that include wide characters.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment