def _get_parent(self):
        if self._parent is None:
            return None
        else:
            return self._parent()
dataset/ETHPy150Open los-cocos/cocos/cocos/cocosnode.py/CocosNode._get_parent/original