Skip to content

Commit 6a98fe9

Browse files
Issue python#18448: Fix a typo in Tools/demo/eiffel.py.
1 parent ec7ddd9 commit 6a98fe9

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Misc/NEWS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,8 @@ Documentation
229229
Tools/Demos
230230
-----------
231231

232+
- Issue #18448: Fix a typo in Tools/demo/eiffel.py.
233+
232234
- Issue #18457: Fixed saving of formulas and complex numbers in
233235
Tools/demo/ss1.py.
234236

Tools/demo/eiffel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def convert_methods(cls, dict):
3636
pre = dict.get("%s_pre" % m)
3737
post = dict.get("%s_post" % m)
3838
if pre or post:
39-
dict[k] = cls.make_eiffel_method(dict[m], pre, post)
39+
dict[m] = cls.make_eiffel_method(dict[m], pre, post)
4040

4141

4242
class EiffelMetaClass1(EiffelBaseMetaClass):

0 commit comments

Comments
 (0)