Skip to content

Commit d54faf8

Browse files
committed
update annotation
1 parent 1f7a17a commit d54faf8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/strings/accessor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1353,7 +1353,7 @@ def contains(
13531353
@forbid_nonstring_types(["bytes"])
13541354
def match(
13551355
self,
1356-
pat: str,
1356+
pat: str | re.Pattern,
13571357
case: bool | lib.NoDefault = lib.no_default,
13581358
flags: int | lib.NoDefault = lib.no_default,
13591359
na=lib.no_default,

0 commit comments

Comments
 (0)