Files
server/opt/plesk/python/3/lib/python3.10/test/ann_module5.py
2026-01-07 20:52:11 +01:00

11 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