sphinx/tests/roots/test-ext-autodoc/target/genericalias.py
2023-01-01 20:48:37 +00:00

17 lines
262 B
Python

from __future__ import annotations
from typing import Callable, List
#: A list of int
T = List[int]
C = Callable[[int], None] # a generic alias not having a doccomment
class Class:
#: A list of int
T = List[int]
#: A list of Class
L = List[Class]