Commit 392cbcd2 authored by Serhiy Storchaka's avatar Serhiy Storchaka

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

parent e0b3281c
...@@ -229,6 +229,8 @@ Documentation ...@@ -229,6 +229,8 @@ Documentation
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