diff options
author | Jon Dufresne <jon.dufresne@gmail.com> | 2019-08-15 20:30:22 -0700 |
---|---|---|
committer | Jon Dufresne <jon.dufresne@gmail.com> | 2019-08-15 20:30:22 -0700 |
commit | ad63eb4ac89e882c1b327e72fd19d896d30094b0 (patch) | |
tree | 76b4d00a130bcdc06934dc2fbbdbf9dd5733ce65 /sphinx/pycode/parser.py | |
parent | 47cd262b3e50ed650a82f272ba128a1f872cda4d (diff) | |
download | sphinx-git-ad63eb4ac89e882c1b327e72fd19d896d30094b0.tar.gz |
Fix inaccurate docstring for TokenProcessor.fetch_token()
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 534f2310a..cbae86c9e 100644 --- a/sphinx/pycode/parser.py +++ b/sphinx/pycode/parser.py @@ -140,7 +140,7 @@ class TokenProcessor: def fetch_token(self) -> Token: """Fetch a next token from source code. - Returns ``False`` if sequence finished. + Returns ``None`` if sequence finished. """ try: self.previous = self.current |