summaryrefslogtreecommitdiff
path: root/sphinx/directives/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'sphinx/directives/__init__.py')
-rw-r--r--sphinx/directives/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/directives/__init__.py b/sphinx/directives/__init__.py
index fd7bec586..40f838c48 100644
--- a/sphinx/directives/__init__.py
+++ b/sphinx/directives/__init__.py
@@ -166,7 +166,7 @@ class ObjectDescription(SphinxDirective):
node['objtype'] = node['desctype'] = self.objtype
node['noindex'] = noindex = ('noindex' in self.options)
- self.names = [] # type: List[str]
+ self.names = [] # type: List[Any]
signatures = self.get_signatures()
for i, sig in enumerate(signatures):
# add a signature node for each signature in the current unit