Skip to content

Commit 0fabb99

Browse files
committed
use _TS2 for findall
1 parent 9a47508 commit 0fabb99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas-stubs/core/strings.pyi

+1-1
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ class StringMethods(NoNewAttributesMixin, Generic[T, _TS, _TM, _TS2]):
166166
def count(self, pat: str, flags: int = ...) -> Series[int]: ...
167167
def startswith(self, pat: str | tuple[str, ...], na: Any = ...) -> Series[bool]: ...
168168
def endswith(self, pat: str | tuple[str, ...], na: Any = ...) -> Series[bool]: ...
169-
def findall(self, pat: str, flags: int = ...) -> Series[list[str]]: ...
169+
def findall(self, pat: str, flags: int = ...) -> _TS2: ...
170170
@overload
171171
def extract(
172172
self, pat: str, flags: int = ..., *, expand: Literal[True] = ...

0 commit comments

Comments
 (0)