diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2019-12-01 00:55:09 +0900 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2019-12-01 00:55:09 +0900 |
commit | 25f6eff6dff2b8b493403dcfb59bfd4c67126df5 (patch) | |
tree | 313194526c320ca9e5bbf76ea0d529dd9b45db50 /sphinx/pycode/parser.py | |
parent | 15c266c4456816dc5ff2c78880a22aa772b9cd6b (diff) | |
parent | 0d80cff43cade8edf81f6d61c1dbe8188025b664 (diff) | |
download | sphinx-git-25f6eff6dff2b8b493403dcfb59bfd4c67126df5.tar.gz |
Merge branch '2.0'
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 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 |