mirror of
https://github.com/python/cpython.git
synced 2024-11-25 01:20:47 +01:00
8 lines
138 B
Python
8 lines
138 B
Python
# Tests that top-level ClassVar is not allowed
|
|
|
|
from __future__ import annotations
|
|
|
|
from typing import ClassVar
|
|
|
|
wrong: ClassVar[int] = 1
|