Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: e53c98563824cbb2f296f1de1f2185a7b5271cd6 authored by Larry Hastings on 19 August 2020, 19:56:53 UTC
Version bump and copyright update for 3.5.10rc1.
Tip revision: e53c985
mod_generics_cache.py
"""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
back to top