summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergey Fedoseev <fedoseev.sergey@gmail.com>2018-09-07 08:56:09 (GMT)
committerVictor Stinner <vstinner@redhat.com>2018-09-07 08:56:09 (GMT)
commitf9925d86c9d7a44b612576131cd5b84cfee36c4e (patch)
treeeb2cc63b68c6531b9c72b13c6de79e9e84a347fb
parent8f735485acf2e35a75d2fa019feb8f905598c4e5 (diff)
downloadcpython-f9925d86c9d7a44b612576131cd5b84cfee36c4e.zip
cpython-f9925d86c9d7a44b612576131cd5b84cfee36c4e.tar.gz
cpython-f9925d86c9d7a44b612576131cd5b84cfee36c4e.tar.bz2
_sre.c: Removed unused SRE_IS_ALNUM macro (GH-9090)
-rw-r--r--Modules/_sre.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/Modules/_sre.c b/Modules/_sre.c
index b6be6f6..d670830 100644
--- a/Modules/_sre.c
+++ b/Modules/_sre.c
@@ -92,8 +92,6 @@ static const char copyright[] =
((ch) < 128 && Py_ISSPACE(ch))
#define SRE_IS_LINEBREAK(ch)\
((ch) == '\n')
-#define SRE_IS_ALNUM(ch)\
- ((ch) < 128 && Py_ISALNUM(ch))
#define SRE_IS_WORD(ch)\
((ch) < 128 && (Py_ISALNUM(ch) || (ch) == '_'))