summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2022-04-04 07:53:26 (GMT)
committerGitHub <noreply@github.com>2022-04-04 07:53:26 (GMT)
commit1578f06c1c69fbbb942b90bfbacd512784b599fa (patch)
tree3eaa8a117b90da84859618d5a16bdb213a2edf59 /Modules
parent4216dce04b7d3f329beaaafc82a77c4ac6cf4d57 (diff)
downloadcpython-1578f06c1c69fbbb942b90bfbacd512784b599fa.zip
cpython-1578f06c1c69fbbb942b90bfbacd512784b599fa.tar.gz
cpython-1578f06c1c69fbbb942b90bfbacd512784b599fa.tar.bz2
bpo-47152: Move sources of the _sre module into a subdirectory (GH-32290)
Diffstat (limited to 'Modules')
-rw-r--r--Modules/Setup.bootstrap.in2
-rw-r--r--Modules/_sre/clinic/sre.c.h (renamed from Modules/clinic/_sre.c.h)0
-rw-r--r--Modules/_sre/sre.c (renamed from Modules/_sre.c)2
-rw-r--r--Modules/_sre/sre.h (renamed from Modules/sre.h)2
-rw-r--r--Modules/_sre/sre_constants.h (renamed from Modules/sre_constants.h)2
-rw-r--r--Modules/_sre/sre_lib.h (renamed from Modules/sre_lib.h)2
6 files changed, 5 insertions, 5 deletions
diff --git a/Modules/Setup.bootstrap.in b/Modules/Setup.bootstrap.in
index ec72497..e3e9b96 100644
--- a/Modules/Setup.bootstrap.in
+++ b/Modules/Setup.bootstrap.in
@@ -18,7 +18,7 @@ _collections _collectionsmodule.c
errno errnomodule.c
_io _io/_iomodule.c _io/iobase.c _io/fileio.c _io/bytesio.c _io/bufferedio.c _io/textio.c _io/stringio.c
itertools itertoolsmodule.c
-_sre _sre.c
+_sre _sre/sre.c
_thread _threadmodule.c
time timemodule.c
_weakref _weakref.c
diff --git a/Modules/clinic/_sre.c.h b/Modules/_sre/clinic/sre.c.h
index 34cbe21..34cbe21 100644
--- a/Modules/clinic/_sre.c.h
+++ b/Modules/_sre/clinic/sre.c.h
diff --git a/Modules/_sre.c b/Modules/_sre/sre.c
index 506363d..491734f 100644
--- a/Modules/_sre.c
+++ b/Modules/_sre/sre.c
@@ -2788,7 +2788,7 @@ pattern_richcompare(PyObject *lefto, PyObject *righto, int op)
return PyBool_FromLong(cmp);
}
-#include "clinic/_sre.c.h"
+#include "clinic/sre.c.h"
static PyMethodDef pattern_methods[] = {
_SRE_SRE_PATTERN_MATCH_METHODDEF
diff --git a/Modules/sre.h b/Modules/_sre/sre.h
index e2c5277..129f559 100644
--- a/Modules/sre.h
+++ b/Modules/_sre/sre.h
@@ -5,7 +5,7 @@
*
* Copyright (c) 1997-2001 by Secret Labs AB. All rights reserved.
*
- * See the _sre.c file for information on usage and redistribution.
+ * See the sre.c file for information on usage and redistribution.
*/
#ifndef SRE_INCLUDED
diff --git a/Modules/sre_constants.h b/Modules/_sre/sre_constants.h
index 8b24949..3e36431 100644
--- a/Modules/sre_constants.h
+++ b/Modules/_sre/sre_constants.h
@@ -8,7 +8,7 @@
*
* Copyright (c) 1997-2001 by Secret Labs AB. All rights reserved.
*
- * See the _sre.c file for information on usage and redistribution.
+ * See the sre.c file for information on usage and redistribution.
*/
#define SRE_MAGIC 20220402
diff --git a/Modules/sre_lib.h b/Modules/_sre/sre_lib.h
index 1cc926d..34cd055 100644
--- a/Modules/sre_lib.h
+++ b/Modules/_sre/sre_lib.h
@@ -5,7 +5,7 @@
*
* Copyright (c) 1997-2001 by Secret Labs AB. All rights reserved.
*
- * See the _sre.c file for information on usage and redistribution.
+ * See the sre.c file for information on usage and redistribution.
*/
/* String matching engine */