parameters: (registry, ob)
docstring: Return an adapter factory for `ob` from `registry`
docstring_summary: Return an adapter factory for `ob` from `registry`
docstring_tokens: Return an adapter factory for ob from registry
function: def _find_adapter(registry, ob):
      """Return an adapter factory for `ob` from `registry`"""
      for t in _get_mro(getattr(ob, '__class__', type(ob))):
          if t in registry:
              return registry[t]
function_tokens: def _find_adapter ( registry , ob ) : for t in _get_mro ( getattr ( ob , '__class__' , type ( ob ) ) ) : if t in registry : return registry [ t ]