cpython/Lib/test/mod_generics_cache.py

15 lines
224 B
Python
Raw Normal View History

"""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