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.
p9ew5o3q7/Lib/test/mod_generics_cache.py

15 lines
224 B

"""Module for testing the behavior of generics across different modules."""
from typing import TypeVar, Generic
T = TypeVar('T')
class A(Generic[T]):
pass
class B(Generic[T]):
class A(Generic[T]):
pass