mirror of
https://github.com/python/cpython.git
synced 2025-08-10 03:49:18 +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>
7 lines
138 B
Python
7 lines
138 B
Python
# Tests that top-level ClassVar is not allowed
|
|
|
|
from __future__ import annotations
|
|
|
|
from typing import ClassVar
|
|
|
|
wrong: ClassVar[int] = 1
|