Fix #8818: autodoc: Super class having `Any` arguments causes nit-picky warning

On generating the base class information, unexpected nit-picky warning
for ``typing.Any`` was emitted.  This fixes it by using `~` prefix on
generating a cross-reference to make it valid.
This commit is contained in:
Takeshi KOMIYA
2021-04-17 23:54:44 +09:00
parent e94944cdd8
commit c2c2b81f91
5 changed files with 78 additions and 45 deletions

View File

@@ -16,6 +16,7 @@ Deprecated
Features added
--------------
* #8818: autodoc: Super class having ``Any`` arguments causes nit-picky warning
* #8127: py domain: Ellipsis in info-field-list causes nit-picky warning
* #9023: More CSS classes on domain descriptions, see :ref:`nodes` for details.