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-03 01:59:53 +09:00
parent a9e0c4b515
commit 46f0b3063d
3 changed files with 26 additions and 4 deletions
+5
View File
@@ -26,6 +26,11 @@ The following is a list of deprecated interfaces.
- (will be) Removed
- Alternatives
* - ``sphinx.ext.autodoc.members_set_option()``
- 3.2
- 5.0
- N/A
* - ``sphinx.ext.autodoc.merge_special_members_option()``
- 3.2
- 5.0