Fixing stubtest issues (#5339)

* Fix stubtest issues
This commit is contained in:
hatal175
2021-05-05 17:23:43 +03:00
committed by GitHub
parent 8379386bd4
commit 461791db27
16 changed files with 96 additions and 97 deletions

View File

@@ -1,3 +1,4 @@
import sys
from typing import Any, Dict, List, Optional, Union
MAGIC: int
@@ -72,7 +73,10 @@ REPEAT: _NamedIntConstant
REPEAT_ONE: _NamedIntConstant
SUBPATTERN: _NamedIntConstant
MIN_REPEAT_ONE: _NamedIntConstant
RANGE_IGNORE: _NamedIntConstant
if sys.version_info >= (3, 7):
RANGE_UNI_IGNORE: _NamedIntConstant
else:
RANGE_IGNORE: _NamedIntConstant
MIN_REPEAT: _NamedIntConstant
MAX_REPEAT: _NamedIntConstant