summaryrefslogtreecommitdiff
path: root/Modules/sre.h
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2017-10-24 23:31:42 +0300
committerGitHub <noreply@github.com>2017-10-24 23:31:42 +0300
commit3557b05c5a7dfd7d97ddfd3b79aefd53d25e5132 (patch)
treeaa741f0d09293f6dfe9668a5b328658ce13c8279 /Modules/sre.h
parentfdd9b217c60b454ac6a82f02c8b0b551caeac88b (diff)
downloadcpython-git-3557b05c5a7dfd7d97ddfd3b79aefd53d25e5132.tar.gz
bpo-31690: Allow the inline flags "a", "L", and "u" to be used as group flags for RE. (#3885)
Diffstat (limited to 'Modules/sre.h')
-rw-r--r--Modules/sre.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/Modules/sre.h b/Modules/sre.h
index 9af5e40574..585d2841a6 100644
--- a/Modules/sre.h
+++ b/Modules/sre.h
@@ -52,8 +52,6 @@ typedef struct {
Py_ssize_t mark[1];
} MatchObject;
-typedef unsigned int (*SRE_TOLOWER_HOOK)(unsigned int ch);
-
typedef struct SRE_REPEAT_T {
Py_ssize_t count;
SRE_CODE* pattern; /* points to REPEAT operator arguments */
@@ -83,8 +81,6 @@ typedef struct {
Py_buffer buffer;
/* current repeat context */
SRE_REPEAT *repeat;
- /* hooks */
- SRE_TOLOWER_HOOK lower, upper;
} SRE_STATE;
typedef struct {