mirror of
https://github.com/python/cpython.git
synced 2025-08-09 11:29:45 +00:00

gh-108303: Move `ann_module*.py` files to `typinganndata/` folder (GH-108354)
(cherry picked from commit 3f61cf646d
)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
10 lines
202 B
Python
10 lines
202 B
Python
# Used by test_typing to verify that Final wrapped in ForwardRef works.
|
|
|
|
from __future__ import annotations
|
|
|
|
from typing import Final
|
|
|
|
name: Final[str] = "final"
|
|
|
|
class MyClass:
|
|
value: Final = 3000
|