From 21c90d52b919f60c69a39784b019ab70e931ea79 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Mon, 25 Jan 2016 12:29:21 -0800 Subject: [PATCH] Fix re module constant stubs for 2.7. ASCII doesn't exist in 2.7, but UNICODE and TEMPLATE do. --- stdlib/2.7/re.pyi | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/stdlib/2.7/re.pyi b/stdlib/2.7/re.pyi index b842b7c6b..79b3a1017 100644 --- a/stdlib/2.7/re.pyi +++ b/stdlib/2.7/re.pyi @@ -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): ...