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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
263 B
Python
Raw Normal View History

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]
2025-01-02 19:09:26 -06:00
#: A list of Class
L = List[Class]