code: def _add_dep(self, dep):
          
          if dep in self._deps:
              self._deps[dep] += 1
          else:
              self._deps[dep] = 1
              dep._dependents[self] = None
docs: Increment the reference count for *dep*. If this is a new 
          dependency, then connect to its *changed* event.