mirror of https://github.com/python/cpython.git
_sre.c: Removed unused SRE_IS_ALNUM macro (GH-9090)
This commit is contained in:
parent
8f735485ac
commit
f9925d86c9
|
@ -92,8 +92,6 @@ static const char copyright[] =
|
||||||
((ch) < 128 && Py_ISSPACE(ch))
|
((ch) < 128 && Py_ISSPACE(ch))
|
||||||
#define SRE_IS_LINEBREAK(ch)\
|
#define SRE_IS_LINEBREAK(ch)\
|
||||||
((ch) == '\n')
|
((ch) == '\n')
|
||||||
#define SRE_IS_ALNUM(ch)\
|
|
||||||
((ch) < 128 && Py_ISALNUM(ch))
|
|
||||||
#define SRE_IS_WORD(ch)\
|
#define SRE_IS_WORD(ch)\
|
||||||
((ch) < 128 && (Py_ISALNUM(ch) || (ch) == '_'))
|
((ch) < 128 && (Py_ISALNUM(ch) || (ch) == '_'))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue