class_docstr: Wrapper to avoid appearance in stack traces.
class_docstr_tok: ["Wrapper","to","avoid","appearance","in","stack","traces","."]
code: def __init__(self, default=None, name="PartialDispatcher"):
      self.default = (
          default if default is None else PartialDefault(default)
      )
      super().__init__(name)
      if default is not None:
          self.add(([object],), self.default)
  
imports: from collections import defaultdict
  from multipledispatch.dispatcher import Dispatcher, expand_tuples
  from funsor.typing import Variadic, deep_type, get_origin, get_type_hints, typing_wrap
label_desc: Use image node_id 1 to create a new PartialDispatcher object from inherited base classes: Dispatcher with example: obj = PartialDispatcher(default, name)