Skip to content

Commit

Permalink
pythongh-126206: make clinic now forcefully regenerates clinic code (p…
Browse files Browse the repository at this point in the history
  • Loading branch information
erlend-aasland authored Nov 1, 2024
1 parent 295262c commit 43447cb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.pre.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
``make clinic`` now runs Argument Clinic using the ``--force`` option,
thus forcefully regenerating generated code.

0 comments on commit 43447cb

Please sign in to comment.