def __init__(self, obj):
        self._obj = obj
        obj.notifyOnDeath(self._selfDied)

        self._cbs = set()
Adding a revision should add it to the index.
dataset/ETHPy150Open rapyuta/rce/rce-core/rce/core/wrapper.py/_Wrapper.__init__--crossover with--dataset/ETHPy150Open mozilla/kitsune/kitsune/wiki/tests/test_es.py/RevisionMetricsTests.test_add_and_delete