You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
202 B
11 lines
202 B
3 years ago
|
# 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
|