Skip to content

Commit 6905fe9

Browse files
committed
fixup
1 parent 3840e58 commit 6905fe9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sphinx/util/typing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ def _stringify_literal_arg(arg: Any, mode: str) -> str:
426426
enum_cls = arg.__class__
427427
# 'MyEnum.member' in 'smart' mode, otherwise 'module.MyEnum.member'
428428
prefix = '' if mode == 'smart' else f'{enum_cls.__module__}.'
429-
return f'{prefix}.{enum_cls.__qualname__}.{arg.name}'
429+
return f'{prefix}{enum_cls.__qualname__}.{arg.name}'
430430
return repr(arg)
431431

432432

0 commit comments

Comments
 (0)