diff --git a/Utils.py b/Utils.py index 237b27516920..4fc3638d4292 100644 --- a/Utils.py +++ b/Utils.py @@ -970,7 +970,7 @@ def __len__(self): def is_iterable_except_str(obj: object) -> TypeGuard[typing.Iterable[typing.Any]]: - """ `str` and `bytes` and `Iterable`, but that's not what we want """ + """ `str` and `bytes` are `Iterable`, but that's not what we want """ if isinstance(obj, (str, bytes)): return False return isinstance(obj, typing.Iterable)