(self, obj)
return None
If the given object has been written already, return its
           position in the offset table. Otherwise, return None.
If the given object has been written already, return its
           position in the offset table. Otherwise, return None.
If the given object has been written already return its position in the offset table . Otherwise return None .
def positionOfObjectReference(self, obj):
        """If the given object has been written already, return its
           position in the offset table. Otherwise, return None."""
        if obj in self.writtenReferences:
            return self.writtenReferences.index(obj)
        return None
def positionOfObjectReference ( self , obj ) : if obj in self . writtenReferences : return self . writtenReferences . index ( obj ) return None