假设我有一个Python对象的id,我通过这个来检索它id(thing).如何thing通过我给出的身份证号码再次找到?
id(thing)
thing
python
你可以取消引用从idPython函数中检索的变量id 吗?例如:
id
dereference(id(a)) == a
我想从学术角度来了解; 我知道有更实用的方法.
python memory dereference
python ×2
dereference ×1
memory ×1