Implement type[...]
This commit is contained in:
1 parent
0702da22f2
commit
418598d8c1
4 files changed
+22
-1
No files matched your search
@@ -225,3 +225,8 @@ def check_newstyle_unions(u1: int | str, u2: list[int] | list[str]):
|
||||
u2
|
||||
#? int() str()
|
||||
u2[1]
|
||||
|
||||
def use_type_with_annotation() -> type[int]: ...
|
||||
|
||||
#? int
|
||||
use_type_with_annotation()
|
||||
Reference in new issue
Block a user