multimethod

How to dispatch methods of a superclass?

How to dispatch methods of a superclass? Question: I would like to decorate the shapely.geometry.Point class to instantiate it from a dendropy.datamodel.basemodel.AnnotationSet object. I chose the multimethod package to dispatch __init__ of the superclass as it dispatches this method into a simple class without any problems: from multimethod import multimeta class Example(metaclass=multimeta): def __init__(self, *args, …

Total answers: 1