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 6e70024..ffa8902 100644
--- a/Lib/sre_parse.py
+++ b/Lib/sre_parse.py
@@ -200,7 +200,7 @@ class Tokenizer:
except IndexError:
raise error("bogus escape (end of line)")
if isinstance(self.string, bytes):
- char = chr(c)
+ c = chr(c)
char = char + c
self.index = self.index + len(char)
self.next = char