original_docstring: 
          Use emit to send data to all dependents. If more than one dependent
          exists, a deepcopy of the emitted data is sent to each one if the
          ``deep_copy`` class attribute is ``True``. Otherwise, the same
          reference to the data is sent to all dependents, and it must be thread
          safe.
          
docstring: Use emit to send data to all dependents.
docstring_tokens: Use emit to send data to all dependents .
code: def emit(self, data):
          """
          Use emit to send data to all dependents. If more than one dependent
          exists, a deepcopy of the emitted data is sent to each one if the
          ``deep_copy`` class attribute is ``True``. Otherwise, the same
          reference to the data is sent to all dependents, and it must be thread
          safe.
          """
          if self.deep_copy and data != _poison:
              for i, o in enumerate(self.observers):
                  o.queue.put((self.__class__, data if i == 0 else copy.deepcopy(data)))
          else:
              for o in self.observers:
                  o.queue.put((self.__class__, data))
code_tokens: def emit ( self , data ) : if self . deep_copy and data != _poison : for i , o in enumerate ( self . observers ) : o . queue . put ( ( self . __class__ , data if i == 0 else copy . deepcopy ( data ) ) ) else : for o in self . observers : o . queue . put ( ( self . __class__ , data ) )
short_docstring: Use emit to send data to all dependents.
short_docstring_tokens: Use emit to send data to all dependents .
comment: """
          Use emit to send data to all dependents. If more than one dependent
          exists, a deepcopy of the emitted data is sent to each one if the
          ``deep_copy`` class attribute is ``True``. Otherwise, the same
          reference to the data is sent to all dependents, and it must be thread
          safe.
          """