sre_parse.SubPattern.getwidth: return a tuple of ints (#7951)

This commit is contained in:
Henry Schreiner
2022-05-25 12:34:51 -04:00
committed by GitHub
parent cb5b31cf15
commit afb512f38b

View File

@@ -65,7 +65,7 @@ class SubPattern:
def __setitem__(self, index: int | slice, code: _CodeType) -> None: ...
def insert(self, index: int, code: _CodeType) -> None: ...
def append(self, code: _CodeType) -> None: ...
def getwidth(self) -> int: ...
def getwidth(self) -> tuple[int, int]: ...
class Tokenizer:
istext: bool