summaryrefslogtreecommitdiff
path: root/sphinx/ext/autosummary/generate.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2016-12-15 19:22:40 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2016-12-15 19:22:40 +0900
commitd5288567fd90b77c139a0fb0dbd48e7dbe3454a5 (patch)
treee4083102c6c257d036599b2423213f36831b7f00 /sphinx/ext/autosummary/generate.py
parente4a0f99dda967820e494fd80c7ec07cbc69401d1 (diff)
downloadsphinx-git-d5288567fd90b77c139a0fb0dbd48e7dbe3454a5.tar.gz
Update type annotations
Diffstat (limited to 'sphinx/ext/autosummary/generate.py')
-rw-r--r--sphinx/ext/autosummary/generate.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/ext/autosummary/generate.py b/sphinx/ext/autosummary/generate.py
index d3dfbe5e1..aed6aa1f7 100644
--- a/sphinx/ext/autosummary/generate.py
+++ b/sphinx/ext/autosummary/generate.py
@@ -166,7 +166,7 @@ def generate_autosummary_docs(sources, output_dir=None, suffix='.rst',
template = template_env.get_template('autosummary/base.rst')
def get_members(obj, typ, include_public=[], imported=False):
- # type: (Any, unicode, List[unicode]) -> Tuple[List[unicode], List[unicode]]
+ # type: (Any, unicode, List[unicode], bool) -> Tuple[List[unicode], List[unicode]]
items = [] # type: List[unicode]
for name in dir(obj):
try: