(dtype)
return isinstance(dtype, valid_dtype_types) or dtype is None
Returns True is dtype is a valid type for dtype parameter and False otherwise.
        Used in RangeIndex ctor and other methods that take dtype parameter.
Returns True is dtype is a valid type for dtype parameter and False otherwise.
        Used in RangeIndex ctor and other methods that take dtype parameter.
Returns True is dtype is a valid type for dtype parameter and False otherwise . Used in RangeIndex ctor and other methods that take dtype parameter .
def _check_dtype_param_type(dtype):
    """ Returns True is dtype is a valid type for dtype parameter and False otherwise.
        Used in RangeIndex ctor and other methods that take dtype parameter. """

    valid_dtype_types = (types.NoneType, types.Omitted, types.UnicodeType, types.NumberClass)
    return isinstance(dtype, valid_dtype_types) or dtype is None
def _check_dtype_param_type ( dtype ) : valid_dtype_types = ( types . NoneType , types . Omitted , types . UnicodeType , types . NumberClass ) return isinstance ( dtype , valid_dtype_types ) or dtype is None