Title: PEP 702 – Marking deprecations using the type system | peps.python.org
Open Graph Title: PEP 702 – Marking deprecations using the type system | peps.python.org
Description: This PEP adds an @warnings.deprecated() decorator that marks a class or function as deprecated, enabling static checkers to warn when it is used. By default, this decorator will also raise a runtime DeprecationWarning.
Open Graph Description: This PEP adds an @warnings.deprecated() decorator that marks a class or function as deprecated, enabling static checkers to warn when it is used. By default, this decorator will also raise a runtime DeprecationWarning.
Opengraph URL: https://peps.python.org/pep-0702/
Domain: peps.python.org
| color-scheme | light dark |
| og:type | website |
| og:site_name | Python Enhancement Proposals (PEPs) |
| og:image | https://peps.python.org/_static/og-image.png |
| og:image:alt | Python PEPs |
| og:image:width | 200 |
| og:image:height | 200 |
| theme-color | #3776ab |
Links:
Viewport: width=device-width, initial-scale=1.0