class_docstr: Dispatch methods based on type signature
  
  Use ``dispatch`` to add implementations
  
  Examples
  --------
  
  >>> from sympy.multipledispatch import dispatch
  >>> @dispatch(int)
  ... def f(x):
  ...     return x + 1
  
  >>> @dispatch(float)
  ... def f(x): # noqa: F811
  ...     return x - 1
  
  >>> f(3)
  4
  >>> f(3.0)
  2.0
code: def reorder(self, on_ambiguity=ambiguity_warn):
      if _resolve[0]:
          self.ordering = ordering(self.funcs)
          amb = ambiguities(self.funcs)
          if amb:
              on_ambiguity(self, amb)
      else:
          _unresolved_dispatchers.add(self)
  
imports: from __future__ import annotations
  from warnings import warn
  import inspect
  from .conflict import ordering, ambiguities, super_signature, AmbiguityWarning
  from .utils import expand_tuples
  import itertools
label_desc: Use image node_id 6 for calling the Dispatcher obj's underlying member method code with example usage: obj.reorder(on_ambiguity) without return types