mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix #8503: autoattribute could not create document for a GenericAlias
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user