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