summaryrefslogtreecommitdiffstats
path: root/Modules/_sre
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2022-04-12 15:34:06 (GMT)
committerGitHub <noreply@github.com>2022-04-12 15:34:06 (GMT)
commit474fdbe9e4a2ff90ef39e8748da644c86a200981 (patch)
treed15c64e70f6038121cf698b8b80b4436a0964e6d /Modules/_sre
parent943ca5e1d6b72830c530a72426cff094f155d010 (diff)
downloadcpython-474fdbe9e4a2ff90ef39e8748da644c86a200981.zip
cpython-474fdbe9e4a2ff90ef39e8748da644c86a200981.tar.gz
cpython-474fdbe9e4a2ff90ef39e8748da644c86a200981.tar.bz2
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`.
Diffstat (limited to 'Modules/_sre')
-rw-r--r--Modules/_sre/sre_constants.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_sre/sre_constants.h b/Modules/_sre/sre_constants.h
index e53fa39..b1ef27e 100644
--- a/Modules/_sre/sre_constants.h
+++ b/Modules/_sre/sre_constants.h
@@ -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.
*