summaryrefslogtreecommitdiff
path: root/sphinx/pycode/parser.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2019-12-01 00:55:09 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2019-12-01 00:55:09 +0900
commit25f6eff6dff2b8b493403dcfb59bfd4c67126df5 (patch)
tree313194526c320ca9e5bbf76ea0d529dd9b45db50 /sphinx/pycode/parser.py
parent15c266c4456816dc5ff2c78880a22aa772b9cd6b (diff)
parent0d80cff43cade8edf81f6d61c1dbe8188025b664 (diff)
downloadsphinx-git-25f6eff6dff2b8b493403dcfb59bfd4c67126df5.tar.gz
Merge branch '2.0'
Diffstat (limited to 'sphinx/pycode/parser.py')
-rw-r--r--sphinx/pycode/parser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/pycode/parser.py b/sphinx/pycode/parser.py
index cbae86c9e..4233089ff 100644
--- a/sphinx/pycode/parser.py
+++ b/sphinx/pycode/parser.py
@@ -129,7 +129,7 @@ class TokenProcessor:
def __init__(self, buffers: List[str]) -> None:
lines = iter(buffers)
self.buffers = buffers
- self.tokens = tokenize.generate_tokens(lambda: next(lines))
+ self.tokens = tokenize.generate_tokens(lambda: next(lines)) # type: ignore
self.current = None # type: Token
self.previous = None # type: Token