Commit 05622250 authored by Serhiy Storchaka's avatar Serhiy Storchaka

Issue #18448: Fix a typo in Tools/demo/eiffel.py.

parents 7088c78d 392cbcd2
...@@ -673,6 +673,8 @@ Build ...@@ -673,6 +673,8 @@ Build
Tools/Demos Tools/Demos
----------- -----------
- Issue #18448: Fix a typo in Tools/demo/eiffel.py.
- Issue #18457: Fixed saving of formulas and complex numbers in - Issue #18457: Fixed saving of formulas and complex numbers in
Tools/demo/ss1.py. Tools/demo/ss1.py.
......
...@@ -36,7 +36,7 @@ class EiffelBaseMetaClass(type): ...@@ -36,7 +36,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):
......
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