Debian Codegraph @

tests/roots/test-ext-autodoc/target/genericalias.py

raw
1 from __future__ import annotations
2
3 from typing import Callable, List
4
5 #: A list of int
6 T = List[int]
7
8 C = Callable[[int], None] # a generic alias not having a doccomment
9
10
11 class Class:
12 #: A list of int
13 T = List[int]
14
15
16 #: A list of Class
17 L = List[Class]