Skip to content

Commit 5cb60e0

Browse files
update type annotations
1 parent e1100e2 commit 5cb60e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/core/arrays/_arrow_string_mixins.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ def _str_contains(
311311

312312
def _str_match(
313313
self,
314-
pat: str | re.Pattern,
314+
pat: str,
315315
case: bool = True,
316316
flags: int = 0,
317317
na: Scalar | lib.NoDefault = lib.no_default,
@@ -322,7 +322,7 @@ def _str_match(
322322

323323
def _str_fullmatch(
324324
self,
325-
pat: str | re.Pattern,
325+
pat: str,
326326
case: bool = True,
327327
flags: int = 0,
328328
na: Scalar | lib.NoDefault = lib.no_default,

0 commit comments

Comments
 (0)