错误代码门户
PythonPython警告或状态代码

ResourceWarning

ResourceWarning

代码 ResourceWarning · Python 报告的问题。

此条目包含不属于错误的警告或状态值。请查阅原文,确认其返回条件。

与资源使用相关的警告的基类。 被默认警告过滤器忽略。启用 Python 开发模式会显示此警告。

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

Base class for warnings related to resource usage. Ignored by the default warning filters. Enabling the Python Development Mode shows this warning.

故障排除与诊断链接

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