Fix re module constant stubs for 2.7.

ASCII doesn't exist in 2.7, but UNICODE and TEMPLATE do.
This commit is contained in:
Tim Abbott
2016-01-25 12:29:21 -08:00
parent 2c4549fb36
commit 21c90d52b9

View File

@@ -10,8 +10,6 @@ from typing import (
)
# ----- re variables and constants -----
A = 0
ASCII = 0
DEBUG = 0
I = 0
IGNORECASE = 0
@@ -23,6 +21,10 @@ S = 0
DOTALL = 0
X = 0
VERBOSE = 0
U = 0
UNICODE = 0
T = 0
TEMPLATE = 0
class error(Exception): ...