summaryrefslogtreecommitdiff
path: root/sphinx/directives/patches.py
diff options
context:
space:
mode:
Diffstat (limited to 'sphinx/directives/patches.py')
-rw-r--r--sphinx/directives/patches.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/sphinx/directives/patches.py b/sphinx/directives/patches.py
index c97340a81..14f0ca17e 100644
--- a/sphinx/directives/patches.py
+++ b/sphinx/directives/patches.py
@@ -16,7 +16,7 @@ from sphinx.util.nodes import set_source_info
if False:
# For type annotation
- from typing import Dict, List # NOQA
+ from typing import Dict, List, Tuple # NOQA
from sphinx.application import Sphinx # NOQA
@@ -69,6 +69,7 @@ class RSTTable(tables.RSTTable):
Only for docutils-0.13 or older version."""
def make_title(self):
+ # type: () -> Tuple[nodes.Node, unicode]
title, message = tables.RSTTable.make_title(self)
if title:
set_source_info(self, title)
@@ -82,6 +83,7 @@ class CSVTable(tables.CSVTable):
Only for docutils-0.13 or older version."""
def make_title(self):
+ # type: () -> Tuple[nodes.Node, unicode]
title, message = tables.CSVTable.make_title(self)
if title:
set_source_info(self, title)
@@ -95,6 +97,7 @@ class ListTable(tables.ListTable):
Only for docutils-0.13 or older version."""
def make_title(self):
+ # type: () -> Tuple[nodes.Node, unicode]
title, message = tables.ListTable.make_title(self)
if title:
set_source_info(self, title)