summaryrefslogtreecommitdiff
path: root/tests/roots/test-ext-autodoc/target/enum.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2018-09-17 15:10:16 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2018-09-18 13:01:10 +0900
commit9e8434f902eec9ce6f7277a523a984e40fa34592 (patch)
tree13d38f88c8e50362521c92d7dd27b7c17eb3123f /tests/roots/test-ext-autodoc/target/enum.py
parent6d55e98da1b36b559ebc8653bf6105e61ff3ee4d (diff)
downloadsphinx-git-9e8434f902eec9ce6f7277a523a984e40fa34592.tar.gz
Fix #5436: Autodoc does not work with enum subclasses with properties/methods
Diffstat (limited to 'tests/roots/test-ext-autodoc/target/enum.py')
-rw-r--r--tests/roots/test-ext-autodoc/target/enum.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/roots/test-ext-autodoc/target/enum.py b/tests/roots/test-ext-autodoc/target/enum.py
index ce4d13f65..31e7c6ccd 100644
--- a/tests/roots/test-ext-autodoc/target/enum.py
+++ b/tests/roots/test-ext-autodoc/target/enum.py
@@ -13,3 +13,7 @@ class EnumCls(enum.Enum):
val3 = 34
"""doc for val3"""
val4 = 34
+
+ def say_hello(self):
+ """a method says hello to you."""
+ pass