mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
bpo-47152: Automatically regenerate sre_constants.h (GH-91439)
* Move the code for generating Modules/_sre/sre_constants.h from Lib/re/_constants.py into a separate script Tools/scripts/generate_sre_constants.py. * Add target `regen-sre` in the makefile. * Make target `regen-all` depending on `regen-sre`.
This commit is contained in:
parent
943ca5e1d6
commit
474fdbe9e4
5 changed files with 73 additions and 46 deletions
|
|
@ -3,8 +3,8 @@
|
|||
*
|
||||
* regular expression matching engine
|
||||
*
|
||||
* NOTE: This file is generated by Lib/re/_constants.py. If you need
|
||||
* to change anything in here, edit Lib/re/_constants.py and run it.
|
||||
* Auto-generated by Tools/scripts/generate_sre_constants.py from
|
||||
* Lib/re/_constants.py.
|
||||
*
|
||||
* Copyright (c) 1997-2001 by Secret Labs AB. All rights reserved.
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue