New issue
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
Fix sphinx.ext.autodoc.preserve_defaults
extension.
#11550
Fix sphinx.ext.autodoc.preserve_defaults
extension.
#11550
Conversation
I said that it would "fix" but it's not entirely true because it's unforunately impossible to recover the raw (non-evaluated) default value of a dataclass with the default |
- Add support for ``async def`` functions. - Add support for ``lambda`` functions. - Rename ``get_function_def`` to ``get_arguments`` and update its signature accordingly. Previously, ``get_function_def`` incorrectly extracted ``ast.FunctionDef`` from an arbitrary object. - Silently suppress syntax errors arising from multi-line parsing.
It was stupid of me to split the task into two since I would end up updating the comment. So let's fix the extension in one go. |
6e09f0e
to
a3442ae
Compare
a3442ae
to
36d6593
Compare
…cnixz/sphinx into fix/11543-patch-update-default-values
…pdate-default-values
…pdate-default-values
…pdate-default-values
…pdate-default-values
…pdate-default-values
# Conflicts: # CHANGES
Thanks! |
# Conflicts: # CHANGES
Fix #11543.
Fix #11459.