]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-113317: Argument Clinic: Add libclinic.clanguage (#117455)
authorVictor Stinner <vstinner@python.org>
Wed, 3 Apr 2024 18:17:51 +0000 (20:17 +0200)
committerGitHub <noreply@github.com>
Wed, 3 Apr 2024 18:17:51 +0000 (18:17 +0000)
commitc43f6a4dfaa1c1974141e2f7014a7f98ca3a3f93
treeb0387ebc2bd4b7b4ac76d874c2c04c244a67630d
parent1c434688866db79082def4f9ef572b85d85908c8
gh-113317: Argument Clinic: Add libclinic.clanguage (#117455)

Add libclinic.clanguage module and move the following classes and
functions there:

* CLanguage
* declare_parser()

Add libclinic.codegen and move the following classes there:

* BlockPrinter
* BufferSeries
* Destination

Move the following functions to libclinic.function:

* permute_left_option_groups()
* permute_optional_groups()
* permute_right_option_groups()
Lib/test/test_clinic.py
Tools/clinic/clinic.py
Tools/clinic/libclinic/clanguage.py [new file with mode: 0644]
Tools/clinic/libclinic/codegen.py [new file with mode: 0644]
Tools/clinic/libclinic/function.py