def getReferenceTo(self, obj):
        return self.dict.get(self.func(obj), -1)
Returns a reference to C{obj} if it is contained within this index.
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/PyAMF-0.6.1/pyamf/codec.py/IndexedCollection.getReferenceTo