エラーコードポータル
PythonPython警告・ステータスコード

DeprecationWarning

DeprecationWarning

コード DeprecationWarning · Pythonが報告した問題です。

この項目には、エラーではない警告やステータスが含まれます。返される条件を原文で確認してください。

非推奨の機能に関する警告が他の Python 開発者向けである場合の警告の基本クラス。 __main__ モジュール (PEP 565) を除き、デフォルトの警告フィルターでは無視されます。 Python 開発モードを有効にすると、この警告が表示されます。 非推奨ポリシーについては PEP 387 で説明されています。

Google Translate · 自動翻訳です。専門用語や適用条件は英語の原文で確認してください。

Base class for warnings about deprecated features when those warnings are intended for other Python developers. Ignored by the default warning filters, except in the __main__ module (PEP 565). Enabling the Python Development Mode shows this warning. The deprecation policy is described in PEP 387.

トラブルシューティング・診断リンク

まず、文書の製品・バージョン・発生環境が現在の状況と一致しているか確認してください。