]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-104683: Argument Clinic: refactor format_docstring() (#107623)
authorErlend E. Aasland <erlend@python.org>
Tue, 8 Aug 2023 21:12:35 +0000 (23:12 +0200)
committerGitHub <noreply@github.com>
Tue, 8 Aug 2023 21:12:35 +0000 (21:12 +0000)
commit73507382ac184a72b59ebb0c2f85e8b1d2dfa58e
tree7b0e4813f4ea5cde8466b1b184345453131871d3
parent0be3743f54569475c40e00c8dcdded928d429d58
gh-104683: Argument Clinic: refactor format_docstring() (#107623)

Extract helper methods for formatting the signature and parameter
sections, and clean up the remaining function body.

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Tools/clinic/clinic.py