Description
Mark old Python classes, functions, or methods as deprecated with a decorator. It helps library maintainers warn users while keeping older APIs working during a migration period.
This is a developer library for API maintenance. Deprecation messages should explain what to use instead and when removal may happen, so users can update without guessing.