hydrotools._restclient._iterable_nonstring module#

class hydrotools._restclient._iterable_nonstring.IterableNonStringLike#

Bases: object

Type iterable that is not a subclass of str or bytes. Useful to test if object isinstance().

Example

x = “a-string” y = list() isinstance(x, IterableNonStringLike) # False isinstance(y, IterableNonStringLike) # True

_abc_impl = <_abc_data object>#
slots = ()#