diff options
author | Jeremy Hylton <jeremy@alum.mit.edu> | 2002-07-11 20:22:11 (GMT) |
---|---|---|
committer | Jeremy Hylton <jeremy@alum.mit.edu> | 2002-07-11 20:22:11 (GMT) |
commit | 425a8ec05e2b14ee2738d4930b1776a01305d023 (patch) | |
tree | 8d6e3a5dc1ce1fa66349bac4ba1bce25c3523893 /Demo/metaclasses | |
parent | e995d16f71add6507a49d5a80c7fc747ee7a8f47 (diff) | |
download | cpython-425a8ec05e2b14ee2738d4930b1776a01305d023.zip cpython-425a8ec05e2b14ee2738d4930b1776a01305d023.tar.gz cpython-425a8ec05e2b14ee2738d4930b1776a01305d023.tar.bz2 |
Repair example code in doc string.
Bug fix candiadte.
Diffstat (limited to 'Demo/metaclasses')
-rw-r--r-- | Demo/metaclasses/Eiffel.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Demo/metaclasses/Eiffel.py b/Demo/metaclasses/Eiffel.py index d9c8a9a..68eb1cd 100644 --- a/Demo/metaclasses/Eiffel.py +++ b/Demo/metaclasses/Eiffel.py @@ -28,7 +28,7 @@ post-condition with that defined in the derived class', for example: class D(C): def m1(self, arg): - return whatever**2 + return arg**2 def m1_post(self, Result, arg): C.m1_post(self, Result, arg) assert Result < 100 |