diff options
Diffstat (limited to 'sphinx/testing/path.py')
| -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. """ |
