ebonite.utils.abc_utils module¶
-
ebonite.utils.abc_utils.
is_abstract_method
(cls_or_method, method_name=None)[source]¶ Checks that given method is abstract (has no body and should be implemented by subclass)
Parameters: - cls_or_method – either a class in which method method_name is found or method itself
- method_name – unused if cls_or_method is a method or name of method to look in cls_or_method class for
Returns: boolean flag