diff options
author | Nikita Sobolev <mail@sobolevn.me> | 2023-08-23 15:42:08 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-23 15:42:08 (GMT) |
commit | 3f61cf646d0506baa0c0c2118f05110446519c62 (patch) | |
tree | 0422bf72d76cdcdbb8387f761a429f2402b05baf /Lib/test/typinganndata/ann_module6.py | |
parent | f5559f38d9831e7e55a518e516bcd620ec13af14 (diff) | |
download | cpython-3f61cf646d0506baa0c0c2118f05110446519c62.zip cpython-3f61cf646d0506baa0c0c2118f05110446519c62.tar.gz cpython-3f61cf646d0506baa0c0c2118f05110446519c62.tar.bz2 |
gh-108303: Move `ann_module*.py` files to `typinganndata/` folder (#108354)
Diffstat (limited to 'Lib/test/typinganndata/ann_module6.py')
-rw-r--r-- | Lib/test/typinganndata/ann_module6.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Lib/test/typinganndata/ann_module6.py b/Lib/test/typinganndata/ann_module6.py new file mode 100644 index 0000000..6791756 --- /dev/null +++ b/Lib/test/typinganndata/ann_module6.py @@ -0,0 +1,7 @@ +# Tests that top-level ClassVar is not allowed + +from __future__ import annotations + +from typing import ClassVar + +wrong: ClassVar[int] = 1 |