mirror of https://github.com/python/cpython
gh-126206: make clinic now forcefully regenerates clinic code (#126244)
This commit is contained in:
parent
295262c8ec
commit
43447cb634
|
@ -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
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
``make clinic`` now runs Argument Clinic using the ``--force`` option,
|
||||
thus forcefully regenerating generated code.
|
Loading…
Reference in New Issue