mod_generics_cache.py 224 B

1234567891011121314
  1. """Module for testing the behavior of generics across different modules."""
  2. from typing import TypeVar, Generic
  3. T = TypeVar('T')
  4. class A(Generic[T]):
  5. pass
  6. class B(Generic[T]):
  7. class A(Generic[T]):
  8. pass