diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2020-11-10 23:20:08 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-10 23:20:08 +0900 |
commit | 229e11c488fc1fbd15b0a209782aa94dc6abdf58 (patch) | |
tree | 77d7f043bd5252b88c02f2eab936bb085cd6ebff /sphinx/util/inspect.py | |
parent | 4664814ed2c2694a83372adea135764f6af3b6ba (diff) | |
parent | 1b9099f339ecd5cc59795273f0121ecd93827879 (diff) | |
download | sphinx-git-229e11c488fc1fbd15b0a209782aa94dc6abdf58.tar.gz |
Merge pull request #8376 from tk0miya/test_with_py310
Test with py310
Diffstat (limited to 'sphinx/util/inspect.py')
-rw-r--r-- | sphinx/util/inspect.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/util/inspect.py b/sphinx/util/inspect.py index 92c6ac7fb..9896ec884 100644 --- a/sphinx/util/inspect.py +++ b/sphinx/util/inspect.py @@ -470,7 +470,7 @@ def signature(subject: Callable, bound_method: bool = False, follow_wrapped: boo raise try: - # Resolve forwared reference annotations using ``get_type_hints()`` and type_aliases. + # Resolve annotations using ``get_type_hints()`` and type_aliases. annotations = typing.get_type_hints(subject, None, type_aliases) for i, param in enumerate(parameters): if param.name in annotations: |