如果我有
class MyClass:
def __init__(self, object):
self.object = object
some_other_object = SomeOtherObject()
myclass = MyClass(some_other_object)
del myclass
Run Code Online (Sandbox Code Playgroud)
会发生什么some_other_object?也会被删吗?
python ×1