summaryrefslogtreecommitdiff
path: root/sphinx/pycode/ast.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2020-05-27 02:41:54 +0900
committerGitHub <noreply@github.com>2020-05-27 02:41:54 +0900
commit2a036bd34d4525a9363bede59842d9b1678b0ed8 (patch)
tree9434c9520e9be42d4595c51b2cd530c18dd20cdc /sphinx/pycode/ast.py
parent3c7d35d2a20cfa7c915538704680a33db87c0563 (diff)
parent1dcc26eeda6bbb610edc28528cd911b2b9bbc256 (diff)
downloadsphinx-git-2a036bd34d4525a9363bede59842d9b1678b0ed8.tar.gz
Merge pull request #7730 from tk0miya/fix_lint_errors
Fix lint errors
Diffstat (limited to 'sphinx/pycode/ast.py')
-rw-r--r--sphinx/pycode/ast.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/pycode/ast.py b/sphinx/pycode/ast.py
index 0b403b61e..3d2af3426 100644
--- a/sphinx/pycode/ast.py
+++ b/sphinx/pycode/ast.py
@@ -189,7 +189,7 @@ class _UnparseVisitor(ast.NodeVisitor):
return "()"
if sys.version_info >= (3, 6):
- def visit_Constant(self, node: ast.Constant) -> str:
+ def visit_Constant(self, node: ast.Constant) -> str: # type: ignore
if node.value is Ellipsis:
return "..."
else: