summaryrefslogtreecommitdiff
path: root/sphinx/ext/coverage.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2016-12-03 16:51:35 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2016-12-03 17:21:47 +0900
commita265670b79e737a0c88ea76dbac5485c19f6e350 (patch)
tree4517db843d5e6e5516bfb9d8bbe63fb65f11edbc /sphinx/ext/coverage.py
parent88887bad88d9724048a5a67a52094881a24d0759 (diff)
downloadsphinx-git-a265670b79e737a0c88ea76dbac5485c19f6e350.tar.gz
Adjust code to type annotation
Diffstat (limited to 'sphinx/ext/coverage.py')
-rw-r--r--sphinx/ext/coverage.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/ext/coverage.py b/sphinx/ext/coverage.py
index 98681466c..11e017f69 100644
--- a/sphinx/ext/coverage.py
+++ b/sphinx/ext/coverage.py
@@ -105,7 +105,7 @@ class CoverageBuilder(Builder):
if match:
name = match.groups()[0]
if name not in c_objects:
- for exp in self.c_ignorexps.get(key, ()):
+ for exp in self.c_ignorexps.get(key, []):
if exp.match(name):
break
else: