summaryrefslogtreecommitdiff
path: root/Lib/sre_parse.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/sre_parse.py')
-rw-r--r--Lib/sre_parse.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/sre_parse.py b/Lib/sre_parse.py
index 2be392e35b..fb622ec235 100644
--- a/Lib/sre_parse.py
+++ b/Lib/sre_parse.py
@@ -211,6 +211,7 @@ class Tokenizer:
string = str(string, 'latin1')
self.decoded_string = string
self.index = 0
+ self.next = None
self.__next()
def __next(self):
index = self.index