

def _set_parent(self, parent):
    if (self is None):
        self._parent = None
    else:
        self._parent = weakref.ref(parent)

dataset/ETHPy150Open los-cocos/cocos/cocos/cocosnode.py CocosNode._set_parent/VarMisuse@14/17 `parent`->`self`