]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-104683: Make Argument Clinic template strings class level members (#107556)
authorErlend E. Aasland <erlend@python.org>
Wed, 2 Aug 2023 19:37:36 +0000 (21:37 +0200)
committerGitHub <noreply@github.com>
Wed, 2 Aug 2023 19:37:36 +0000 (21:37 +0200)
commitbcdd3072316181b49d94567bb648825a07ca9ae1
tree7c7ecb90894ac2e73a7890190d09b3eea6d4853c
parentaf8141cf879f606ed71da42e12f7ec0275f561db
gh-104683: Make Argument Clinic template strings class level members (#107556)

The motivation for this change is to clean up the output_templates()
method a little bit, as it accounts for ~10% of the lines of code in
clinic.py; removing some clutter helps readability.
Tools/clinic/clinic.py