summaryrefslogtreecommitdiffstats
path: root/Lib/sre_parse.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/sre_parse.py')
-rw-r--r--Lib/sre_parse.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/sre_parse.py b/Lib/sre_parse.py
index af729c3..e6f1f1d 100644
--- a/Lib/sre_parse.py
+++ b/Lib/sre_parse.py
@@ -915,7 +915,7 @@ def parse_template(source, pattern):
if c in ASCIILETTERS:
import warnings
warnings.warn('bad escape %s' % this,
- DeprecationWarning, stacklevel=5)
+ DeprecationWarning, stacklevel=4)
lappend(this)
else:
lappend(this)