diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2019-12-21 11:52:59 +0900 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2019-12-21 11:52:59 +0900 |
commit | 56940b0d76cbd809ee0bda4f20aaa7372c40d0c6 (patch) | |
tree | 86508483d2601b8cf2f0f13befa46171511c2447 /sphinx/pycode/parser.py | |
parent | 0b53356a7679e86673c662f6263b011735fa6391 (diff) | |
download | sphinx-git-56940b0d76cbd809ee0bda4f20aaa7372c40d0c6.tar.gz |
Fix mypy violations (for mypy-0.761)
Diffstat (limited to 'sphinx/pycode/parser.py')
-rw-r--r-- | sphinx/pycode/parser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/pycode/parser.py b/sphinx/pycode/parser.py index 0dc07751e..534f2310a 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)) # type: ignore + self.tokens = tokenize.generate_tokens(lambda: next(lines)) self.current = None # type: Token self.previous = None # type: Token |