Message220611
functools.singledispatch is integrated with the abc module for fast single dispatch even in the absence of concrete inheritance. However, this isn't obvious from the documentation, so users may not realise they can register a single ABC with the generic function, and then multiple classes with the ABC, rather than having to register each class with the generic function directly. |
|
Date |
User |
Action |
Args |
2014-06-15 04:00:26 | ncoghlan | set | recipients:
+ ncoghlan |
2014-06-15 04:00:26 | ncoghlan | set | messageid: <1402804826.39.0.801339966603.issue21767@psf.upfronthosting.co.za> |
2014-06-15 04:00:26 | ncoghlan | link | issue21767 messages |
2014-06-15 04:00:26 | ncoghlan | create | |
|