错误代码门户
PythonPython错误代码

ReferenceError

ReferenceError

代码 ReferenceError · Python 报告的问题。

当使用由weakref.proxy()函数创建的弱引用代理在垃圾收集后访问引用对象的属性时,会引发此异常。有关弱引用的更多信息,请参阅weakref 模块。

Google Translate · 此内容为自动翻译。技术术语及适用条件请以英文原文为准。

This exception is raised when a weak reference proxy, created by the weakref.proxy() function, is used to access an attribute of the referent after it has been garbage collected. For more information on weak references, see the weakref module.

故障排除与诊断链接

请先确认文档中的产品、版本及发生环境与当前情况一致。