diff options
| author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-12-03 00:43:39 +0900 |
|---|---|---|
| committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-12-03 01:11:06 +0900 |
| commit | fd73a169c7abe649aab2fcf12d192f44822bbef2 (patch) | |
| tree | 5609270523a017b24181670103d5f23d4db2688c /sphinx/testing | |
| parent | 8068cef267d771cd933316ba93b13665e8282c9d (diff) | |
| download | sphinx-git-fd73a169c7abe649aab2fcf12d192f44822bbef2.tar.gz | |
Fix annotations (minor fixes)
Diffstat (limited to 'sphinx/testing')
| -rw-r--r-- | sphinx/testing/path.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sphinx/testing/path.py b/sphinx/testing/path.py index 20430ff23..34cdee927 100644 --- a/sphinx/testing/path.py +++ b/sphinx/testing/path.py @@ -14,6 +14,7 @@ from six import text_type if False: # For type annotation + import builtins # NOQA from typing import Any, Callable, IO, List # NOQA from sphinx.util.typing import unicode # NOQA @@ -166,7 +167,7 @@ class path(text_type): return f.read() def bytes(self): - # type: () -> str + # type: () -> builtins.bytes """ Returns the bytes in the file. """ |
