deprecatedEasy Playground

Decorator to mark functions and classes as deprecated

Getting started with deprecatedRun locally
Install
pip install deprecated
Python CodeRun locally
Expected Output
# Expected output shown below
# (Run locally with: deprecated)

deprecated is a third-party package. Decorator to mark functions and classes as deprecated. Install with: pip install deprecated

Challenge

Try modifying the code above to explore different behaviors. Can you extend the example to handle a new use case?