class_docstr: Dispatch methods based on type signature
  Use ``dispatch`` to add implementations
  Examples
  --------
  >>> # xdoctest: +SKIP("bad import name")
  >>> from multipledispatch import dispatch
  >>> @dispatch(int)
  ... def f(x):
  ...     return x + 1
  >>> @dispatch(float)
  ... def f(x):
  ...     return x - 1
  >>> f(3)
  4
  >>> f(3.0)
  2.0
code: def __setstate__(self, d):
      self.name = d["name"]
      self.funcs = d["funcs"]
      self._ordering = ordering(self.funcs)
      self._cache = {}
  
imports: from warnings import warn
  import inspect
  from .conflict import ordering, ambiguities, super_signature, AmbiguityWarning
  from .utils import expand_tuples
  from .variadic import Variadic, isvariadic
  import itertools
label_desc: Use image node_id 14 for calling the Dispatcher obj's underlying member method code with example usage: obj.__setstate__(d) without return types