

def registerEntity(self, controllingEntity, entity):
    self.entities.append(entity)
    entityListCopy = self.entities[:]
    controllingEntity.remove(controllingEntity)
    self.entities = entityListCopy

dataset/ETHPy150Open maximx1/PyPlatformerEngine/pyplatformerengine/physics/BasicCollisionDetection.py BasicCollisionDetection.registerEntity/VarMisuse@32/38 `entityListCopy`->`controllingEntity`