Fix #8503: autoattribute could not create document for a GenericAlias

This commit is contained in:
Takeshi KOMIYA
2020-11-28 13:47:23 +09:00
parent c15c61ed64
commit bb63f03034
9 changed files with 128 additions and 34 deletions

View File

@@ -4,3 +4,8 @@ from typing import Callable, List
T = List[int]
C = Callable[[int], None] # a generic alias not having a doccomment
class Class:
#: A list of int
T = List[int]