Fix #8127: py domain: Ellipsis in info-field-list causes nit-picky warning

On parsing the types, the leading dot of the ellipsis (...) is considered
as a reference name.  And its first dot is considered as a notation for
relative type reference (ex. ".ClassName"). As a result, it was converted
double dots unexpectedly.

This changes the parsing rule to treat the ellipsis as a symbol, not a
name.
This commit is contained in:
Takeshi KOMIYA
2021-04-17 02:06:57 +09:00
parent 8954770f67
commit c7b169c5a9
3 changed files with 26 additions and 2 deletions

View File

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