Skip to content

Commit 6e137f4

Browse files
authored
removed "if we" typo in is_dtype() doc (#61012)
1 parent d1ec1a4 commit 6e137f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: pandas/core/dtypes/dtypes.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1156,7 +1156,7 @@ def __ne__(self, other: object) -> bool:
11561156
@classmethod
11571157
def is_dtype(cls, dtype: object) -> bool:
11581158
"""
1159-
Return a boolean if we if the passed type is an actual dtype that we
1159+
Return a boolean if the passed type is an actual dtype that we
11601160
can match (via string or type)
11611161
"""
11621162
if isinstance(dtype, str):
@@ -1436,7 +1436,7 @@ def __setstate__(self, state) -> None:
14361436
@classmethod
14371437
def is_dtype(cls, dtype: object) -> bool:
14381438
"""
1439-
Return a boolean if we if the passed type is an actual dtype that we
1439+
Return a boolean if the passed type is an actual dtype that we
14401440
can match (via string or type)
14411441
"""
14421442
if isinstance(dtype, str):

0 commit comments

Comments
 (0)