summaryrefslogtreecommitdiffstats
path: root/Tools/demo/eiffel.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2013-07-16 19:12:03 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2013-07-16 19:12:03 (GMT)
commit6a98fe9eddcea47fe42e274c887675fa893fba25 (patch)
tree2d42157092c44fd3a8fa807c0384345879980ea3 /Tools/demo/eiffel.py
parentec7ddd90280b1a27e4a0aed6f16b30cf6425642f (diff)
downloadcpython-6a98fe9eddcea47fe42e274c887675fa893fba25.zip
cpython-6a98fe9eddcea47fe42e274c887675fa893fba25.tar.gz
cpython-6a98fe9eddcea47fe42e274c887675fa893fba25.tar.bz2
Issue #18448: Fix a typo in Tools/demo/eiffel.py.
Diffstat (limited to 'Tools/demo/eiffel.py')
-rwxr-xr-xTools/demo/eiffel.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/demo/eiffel.py b/Tools/demo/eiffel.py
index 3a28224..736abea 100755
--- a/Tools/demo/eiffel.py
+++ b/Tools/demo/eiffel.py
@@ -36,7 +36,7 @@ class EiffelBaseMetaClass(type):
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):