LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File mod_generics_cache.py of Package python3-typing (Project home:Heinervdm:cura)

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