Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython3
/
3078d6a7cda697a5180449d414a8a7d9794b4975
/
.
/
Lib
/
test
/
mod_generics_cache.py
blob: d9a60b4b28c325aea1b82fe888504c7491095b67 [
file
] [
log
] [
blame
]
"""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