-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix
sphinx.ext.autodoc.preserve_defaults
.
- 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.
- Loading branch information
Showing
3 changed files
with
113 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters