(self, name=None)
| 711 | """Simple single dispatch.""" |
| 712 | |
| 713 | def __init__(self, name=None): |
| 714 | self._lookup = {} |
| 715 | self._lazy = {} |
| 716 | if name: |
| 717 | self.__name__ = name |
| 718 | |
| 719 | def register(self, type, func=None): |
| 720 | """Register dispatch of `func` on arguments of type `type`""" |
nothing calls this directly
no outgoing calls
no test coverage detected