aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/deprecated/python/typing/test/mod_generics_cache.py
blob: d9a60b4b28c325aea1b82fe888504c7491095b67 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
"""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