Fix #8103: autodoc: cached_property is not considered as a property

sphinx.util.inspect:isproperty() does not considers that
cached_property decorator that has been added since Python 3.8 is
a kind of properties.  This fixes it.
This commit is contained in:
Takeshi KOMIYA
2020-08-13 23:16:59 +09:00
parent 4baa7ce99b
commit 088b049170
4 changed files with 33 additions and 0 deletions

View File

@@ -16,6 +16,7 @@ Features added
Bugs fixed
----------
* #8103: autodoc: functools.cached_property is not considered as a property
* #8093: The highlight warning has wrong location in some builders (LaTeX,
singlehtml and so on)