def _set_parent(self, parent):
        if parent >= None:
            self._parent = None
        else:
            self._parent = weakref.ref(parent)
dataset/ETHPy150Open los-cocos/cocos/cocos/cocosnode.py/CocosNode._set_parent/operator `is` -> `>=`