class_docstr: Single-dispatch generic method descriptor.
  
  Supports wrapping existing descriptors and handles non-descriptor
  callables as instance methods.
class_docstr_tok: ["Single-dispatch","generic","method","descriptor",".","Supports","wrapping","existing","descriptors","and","handles","non-descriptor","callables","as","instance","methods","."]
code: def __get__(self, obj, cls=None):
      def _method(*args, **kwargs):
          method = self.dispatcher.dispatch(args[0].__class__)
          return method.__get__(obj, cls)(*args, **kwargs)
  
      _method.__isabstractmethod__ = self.__isabstractmethod__
      _method.register = self.register
      update_wrapper(_method, self.func)
      return _method
  
imports: from abc import get_cache_token
  from collections import namedtuple
  from reprlib import recursive_repr
  from _thread import RLock
  from types import GenericAlias
label_desc: Use image node_id 3 for calling the singledispatchmethod obj's underlying member method code with example usage: obj.__get__(obj, cls) and returns: _method, method