code: def connect(self, sinks):
          
          if isinstance(sinks, collections.Iterable):
              self._sinks = sinks
          elif sinks not in self._sinks:
              self._sinks.append(sinks)
docs: ! @brief Connect one or more downstream trace sinks.
          
          @param self
          @param sinks If this parameter is a single object, it will be added to the list of
            downstream trace event sinks. If it is an iterable (list, tuple, etc.), then it will
            completely replace the current list of trace event sinks.