[Python-ideas] inspect.getclassdistance

Antoine Pitrou solipsis at pitrou.net
Mon Jan 5 14:58:05 CET 2015


On Mon, 5 Jan 2015 13:44:50 +0000
Alexis Lee <alexisl at hp.com> wrote:
> 
> Maybe the above could be inferred if this last line was changed to:
> 
>     Performs a breadth-first search for dst, either through all the
>     bases of src (if a single class is given) or through the
>     bases of each class given by a pair.
>     Returns the minimal number of jumps required to reach a base class
>     equal to dst.

Can you explain the use case?

Regards

Antoine.




More information about the Python-ideas mailing list