Title: PEP 526 – Syntax for Variable Annotations | peps.python.org
Open Graph Title: PEP 526 – Syntax for Variable Annotations | peps.python.org
Description: PEP 484 introduced type hints, a.k.a. type annotations. While its main focus was function annotations, it also introduced the notion of type comments to annotate variables:
Open Graph Description: PEP 484 introduced type hints, a.k.a. type annotations. While its main focus was function annotations, it also introduced the notion of type comments to annotate variables:
Opengraph URL: https://peps.python.org/pep-0526/
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