MCPcopy Create free account
hub / github.com/ActiveState/code / attach

Method attach

recipes/Python/578484_Observer_Pattern/recipe-578484.py:23–25  ·  view source on GitHub ↗
(self, observer)

Source from the content-addressed store, hash-verified

21 self.notify(attrname, value)
22
23 def attach(self, observer):
24 if not observer in self._observers:
25 self._observers.append(observer)
26
27 def detach(self, observer):
28 try:

Callers 15

send_emailFunction · 0.45
mainFunction · 0.45
recipe-81612.pyFile · 0.45
mainFunction · 0.45
send_mailFunction · 0.45
sendMethod · 0.45
mailFunction · 0.45
attach_textFunction · 0.45
attach_fileFunction · 0.45
recipe-81613.pyFile · 0.45
send_emailFunction · 0.45
email_it_via_gmailFunction · 0.45

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected