We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3840e58 commit 6905fe9Copy full SHA for 6905fe9
sphinx/util/typing.py
@@ -426,7 +426,7 @@ def _stringify_literal_arg(arg: Any, mode: str) -> str:
426
enum_cls = arg.__class__
427
# 'MyEnum.member' in 'smart' mode, otherwise 'module.MyEnum.member'
428
prefix = '' if mode == 'smart' else f'{enum_cls.__module__}.'
429
- return f'{prefix}.{enum_cls.__qualname__}.{arg.name}'
+ return f'{prefix}{enum_cls.__qualname__}.{arg.name}'
430
return repr(arg)
431
432
0 commit comments