diff --git a/stdlib/typing.pyi b/stdlib/typing.pyi index 73a997cb2..6e461b8aa 100644 --- a/stdlib/typing.pyi +++ b/stdlib/typing.pyi @@ -574,7 +574,7 @@ class Match(Generic[AnyStr]): pos: int endpos: int lastindex: int | None - lastgroup: AnyStr | None + lastgroup: str | None string: AnyStr # The regular expression object whose match() or search() method produced