diff options
Diffstat (limited to 'sphinx/util/typing.py')
-rw-r--r-- | sphinx/util/typing.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/util/typing.py b/sphinx/util/typing.py index 279268aee..ee73570d2 100644 --- a/sphinx/util/typing.py +++ b/sphinx/util/typing.py @@ -297,7 +297,7 @@ def stringify(annotation: Any) -> str: else: return '.'.join([annotation.__module__, annotation.__name__]) elif inspect.isNewType(annotation): - # Could not get the module where it defiend + # Could not get the module where it defined return annotation.__name__ elif not annotation: return repr(annotation) |