diff --git a/abcmeta/__init__.py b/abcmeta/__init__.py index 22b74ff..087ec85 100644 --- a/abcmeta/__init__.py +++ b/abcmeta/__init__.py @@ -157,8 +157,9 @@ def __init_subclass__(cls): # Make sure the derived class has implemented the abstract method. if name not in cls.__dict__: raise AttributeError( - "Derived class has not implemented '{}' method of the parent class.".format( - name + "Derived class '{}' has not implemented '{}' method of the" + " parent class '{}'.".format( + cls.__name__, name, cls.__base__.__name__ ) ) diff --git a/setup.py b/setup.py index c9620cd..831531d 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ setup( name="abcmeta", - version="1.0.1", + version="1.0.2", author="Morteza NourelahiAlamdari", author_email="m@0t1.me", description="Python meta class and abstract method library with restrictions.",