We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug This is a followup to #7964 which has been addressed in #8265.
However the special case of a 1-element tuple is still not handled correctly.
(1,) is rendered as (1), but should keep the trailing comma.
(1,)
(1)
To Reproduce Add a testcase
("(1,)", "(1,)"), # Tuple (single element)
at
sphinx/tests/test_pycode_ast.py
Line 57 in e0b1e10
The text was updated successfully, but these errors were encountered:
b9158b9
Merge pull request #9367 from tk0miya/9364_single_element_tuple
bc616d3
Fix #9364: autodoc: 1-element tuple on the defarg is wrongly rendered
Fix sphinx-doc#9364: autodoc: 1-element tuple on the defarg is wrongl…
ec921bc
…y rendered
No branches or pull requests
Describe the bug
This is a followup to #7964 which has been addressed in #8265.
However the special case of a 1-element tuple is still not handled correctly.
(1,)
is rendered as(1)
, but should keep the trailing comma.To Reproduce
Add a testcase
at
sphinx/tests/test_pycode_ast.py
Line 57 in e0b1e10
The text was updated successfully, but these errors were encountered: