Error Code Portal
PythonPythonWarning or status code

DeprecationWarning

DeprecationWarning

Code DeprecationWarning · An issue reported by Python.

This entry includes warnings or status values that are not errors. Check the original documentation for the conditions under which they are returned.

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.

Troubleshooting and diagnostic links

First check that the document's product, version, and environment match your situation.