mirror of
https://github.com/python/cpython.git
synced 2025-10-13 18:33:34 +00:00
Issue #18448: Fix a typo in Tools/demo/eiffel.py.
This commit is contained in:
parent
ec7ddd9028
commit
6a98fe9edd
2 changed files with 3 additions and 1 deletions
|
@ -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):
|
||||||
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):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue