@@ -143,14 +143,14 @@ def ensure_python_int(value: int | np.integer) -> int:
143143
144144
145145def classes (* klasses ) -> Callable :
146- """evaluate if the tipo is a subclass of the klasses"""
146+ """Evaluate if the tipo is a subclass of the klasses. """
147147 return lambda tipo : issubclass (tipo , klasses )
148148
149149
150150def classes_and_not_datetimelike (* klasses ) -> Callable :
151151 """
152- evaluate if the tipo is a subclass of the klasses
153- and not a datetimelike
152+ Evaluate if the tipo is a subclass of the klasses
153+ and not a datetimelike.
154154 """
155155 return lambda tipo : (
156156 issubclass (tipo , klasses )
@@ -674,7 +674,7 @@ def is_integer_dtype(arr_or_dtype) -> bool:
674674 """
675675 Check whether the provided array or dtype is of an integer dtype.
676676
677- Unlike in `in_any_int_dtype `, timedelta64 instances will return False.
677+ Unlike in `is_any_int_dtype `, timedelta64 instances will return False.
678678
679679 The nullable Integer dtypes (e.g. pandas.Int64Dtype) are also considered
680680 as integer by this function.
@@ -726,7 +726,7 @@ def is_signed_integer_dtype(arr_or_dtype) -> bool:
726726 """
727727 Check whether the provided array or dtype is of a signed integer dtype.
728728
729- Unlike in `in_any_int_dtype `, timedelta64 instances will return False.
729+ Unlike in `is_any_int_dtype `, timedelta64 instances will return False.
730730
731731 The nullable Integer dtypes (e.g. pandas.Int64Dtype) are also considered
732732 as integer by this function.
@@ -1521,7 +1521,7 @@ def is_complex_dtype(arr_or_dtype) -> bool:
15211521
15221522def _is_dtype (arr_or_dtype , condition ) -> bool :
15231523 """
1524- Return a boolean if the condition is satisfied for the arr_or_dtype.
1524+ Return true if the condition is satisfied for the arr_or_dtype.
15251525
15261526 Parameters
15271527 ----------
@@ -1580,7 +1580,7 @@ def get_dtype(arr_or_dtype) -> DtypeObj:
15801580
15811581def _is_dtype_type (arr_or_dtype , condition ) -> bool :
15821582 """
1583- Return a boolean if the condition is satisfied for the arr_or_dtype.
1583+ Return true if the condition is satisfied for the arr_or_dtype.
15841584
15851585 Parameters
15861586 ----------
0 commit comments