Skip to content

Commit 5f22e39

Browse files
authored
type is_dtype_equal (#1112)
type is-dtype-equal
1 parent 8c569cf commit 5f22e39

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pandas-stubs/core/dtypes/common.pyi

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ from typing_extensions import TypeAlias
44

55
from pandas._typing import (
66
ArrayLike,
7+
Dtype,
78
DtypeObj,
89
npt,
910
)
@@ -33,7 +34,7 @@ _ArrayOrDtype: TypeAlias = (
3334
def is_object_dtype(arr_or_dtype: _ArrayOrDtype) -> bool: ...
3435
def is_datetime64_dtype(arr_or_dtype: _ArrayOrDtype) -> bool: ...
3536
def is_timedelta64_dtype(arr_or_dtype: _ArrayOrDtype) -> bool: ...
36-
def is_dtype_equal(source, target) -> bool: ...
37+
def is_dtype_equal(source: Dtype, target: Dtype) -> bool: ...
3738
def is_string_dtype(arr_or_dtype: _ArrayOrDtype) -> bool: ...
3839
def is_integer_dtype(arr_or_dtype: _ArrayOrDtype) -> bool: ...
3940
def is_signed_integer_dtype(arr_or_dtype: _ArrayOrDtype) -> bool: ...

0 commit comments

Comments
 (0)