gh-126206: make clinic now forcefully regenerates clinic code (#126244)

This commit is contained in:
Erlend E. Aasland 2024-11-01 09:17:54 +01:00 committed by GitHub
parent 295262c8ec
commit 43447cb634
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

View File

@ -904,7 +904,7 @@ coverage-report: regen-token regen-frozen
# Run "Argument Clinic" over all source files
.PHONY: clinic
clinic: check-clean-src
$(PYTHON_FOR_REGEN) $(srcdir)/Tools/clinic/clinic.py --make --exclude Lib/test/clinic.test.c --srcdir $(srcdir)
$(PYTHON_FOR_REGEN) $(srcdir)/Tools/clinic/clinic.py --force --make --exclude Lib/test/clinic.test.c --srcdir $(srcdir)
.PHONY: clinic-tests
clinic-tests: check-clean-src $(srcdir)/Lib/test/clinic.test.c

View File

@ -0,0 +1,2 @@
``make clinic`` now runs Argument Clinic using the ``--force`` option,
thus forcefully regenerating generated code.