You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…ed as string
The default values for overloaded functions are rendered as string
literal unexpectedly because autodoc extracts code snippets from
the source code, not actual value (ex. int, ellipsis, and so on).
This introduces a simple wrapper class; `DefaultValue` to render these
code snippets like actual values, not string literals.
Describe the bug
Default values of overloaded functions are wrongly rendered as string literal
To Reproduce
The ellipsis is rendered as
'...'
(see #8514).Expected behavior
The default values are rendered as is.
Your project
No
Screenshots
No
Environment info
Additional context
No
The text was updated successfully, but these errors were encountered: