code: def _notice_broker_or_pool(obj):
      
      if isinstance(obj, mitogen.core.Broker):
          _brokers[obj] = True
      else:
          _pools[obj] = True
docs: Used by :mod:`mitogen.core` and :mod:`mitogen.service` to automatically
      register every broker and pool on Python 2.4/2.5.