def _add_shape(self, shape):
        """Adds a shape to the space"""
        assert shape._hashid_private not in self._shapes, "shape already added to space"
        self._shapes[shape._hashid_private] = shape
        cp.cpSpaceAddShape(self._space, shape._shape)
dataset/ETHPy150Open estevaofon/angry-birds-python/pymunk-4.0.0/pymunk/__init__.py/Space._add_shape/original