diff options
| author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2020-05-27 01:35:40 +0900 |
|---|---|---|
| committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2020-05-27 01:35:40 +0900 |
| commit | 1dcc26eeda6bbb610edc28528cd911b2b9bbc256 (patch) | |
| tree | 9434c9520e9be42d4595c51b2cd530c18dd20cdc /sphinx/pycode | |
| parent | 5121b6210e588998505fc031d5806d8670fde798 (diff) | |
| download | sphinx-git-1dcc26eeda6bbb610edc28528cd911b2b9bbc256.tar.gz | |
Fix a mypy violation
Diffstat (limited to 'sphinx/pycode')
| -rw-r--r-- | sphinx/pycode/ast.py | 2 |
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: |
