refactor: autodoc: Add EMPTY that matches to no members

Add a special class `_Empty` to make the comparison of
:exclude-members: option simply.  It never matches to any members.
This commit is contained in:
Takeshi KOMIYA
2020-08-02 01:48:07 +09:00
parent a9e0c4b515
commit 46f0b3063d
3 changed files with 26 additions and 4 deletions

View File

@@ -10,6 +10,7 @@ Incompatible changes
Deprecated
----------
* ``sphinx.ext.autodoc.members_set_option()``
* ``sphinx.ext.autodoc.merge_special_members_option()``
* ``sphinx.writers.texinfo.TexinfoWriter.desc``
* C, parsing of pre-v3 style type directives and roles, along with the options