[Python-checkins] cpython (3.3): Issue #18448: Fix a typo in Tools/demo/eiffel.py.
serhiy.storchaka
python-checkins at python.org
Tue Jul 16 21:16:37 CEST 2013
http://hg.python.org/cpython/rev/6e8ad6071100
changeset: 84667:6e8ad6071100
branch: 3.3
parent: 84664:9098a4ad4d3e
user: Serhiy Storchaka <storchaka at gmail.com>
date: Tue Jul 16 22:12:03 2013 +0300
summary:
Issue #18448: Fix a typo in Tools/demo/eiffel.py.
files:
Misc/NEWS | 2 ++
Tools/demo/eiffel.py | 2 +-
2 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/Misc/NEWS b/Misc/NEWS
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -229,6 +229,8 @@
Tools/Demos
-----------
+- Issue #18448: Fix a typo in Tools/demo/eiffel.py.
+
- Issue #18457: Fixed saving of formulas and complex numbers in
Tools/demo/ss1.py.
diff --git a/Tools/demo/eiffel.py b/Tools/demo/eiffel.py
--- a/Tools/demo/eiffel.py
+++ b/Tools/demo/eiffel.py
@@ -36,7 +36,7 @@
pre = dict.get("%s_pre" % m)
post = dict.get("%s_post" % m)
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):
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list