[Python-checkins] cpython (merge 3.3 -> default): Issue #18448: Fix a typo in Tools/demo/eiffel.py.

serhiy.storchaka python-checkins at python.org
Tue Jul 16 21:16:38 CEST 2013


http://hg.python.org/cpython/rev/128618d2589c
changeset:   84668:128618d2589c
parent:      84665:c6b91d894577
parent:      84667:6e8ad6071100
user:        Serhiy Storchaka <storchaka at gmail.com>
date:        Tue Jul 16 22:14: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
@@ -673,6 +673,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