diff options
Diffstat (limited to 'Demo')
-rw-r--r-- | Demo/newmetaclasses/Eiffel.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Demo/newmetaclasses/Eiffel.py b/Demo/newmetaclasses/Eiffel.py index ef7f0c6..337ad93 100644 --- a/Demo/newmetaclasses/Eiffel.py +++ b/Demo/newmetaclasses/Eiffel.py @@ -1,6 +1,6 @@ """Support Eiffel-style preconditions and postconditions.""" -from new import function +from types import FunctionType as function class EiffelBaseMetaClass(type): |