Skip to content

Commit 5a836bb

Browse files
committed
type-hint fixup
1 parent 6cd5f02 commit 5a836bb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pandas/core/strings/accessor.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2103,7 +2103,9 @@ def slice_replace(self, start=None, stop=None, repl=None):
21032103
result = self._data.array._str_slice_replace(start, stop, repl)
21042104
return self._wrap_result(result)
21052105

2106-
def decode(self, encoding, errors: str = "strict", dtype: str | DtypeObj = None):
2106+
def decode(
2107+
self, encoding, errors: str = "strict", dtype: str | DtypeObj | None = None
2108+
):
21072109
"""
21082110
Decode character string in the Series/Index using indicated encoding.
21092111

0 commit comments

Comments
 (0)