507d9531730d61eba680fcc3879b4457cb22e880
1 from . import core
as _core
2 from . import dispatcher
as _dispatcher
5 class WalkerMeta(_dispatcher
.DispatcherMeta
):
9 class Walker(_dispatcher
.Dispatcher
, metaclass
=WalkerMeta
):
10 @_core.hook(tuple, list, set, frozenset)
11 def dispatch_sequence(self
, instance
):
17 def dispatch_mapping(self
, instance
):
18 for (key
, value
) in instance
.items():
20 yield from self((key
, value
))
23 def dispatch_object(self
, instance
):