Got this error from mypy: `incompatible type "Tupl...
# development
f
Got this error from mypy:
incompatible type "Tuple[ClasspathEntry, ...]"; expected "Collection[ClasspathEntry]"  [arg-type]
Shouldn’t a tuple be a collection?
h
is it
Collection
from
pants.engine.fs
or from
typing
?
f
pants.engine.collection
thought it was from
typing
until you asked
h
yeah that's confusing
f
any way, all of the callers are using
tuple
so going to make the type ascription be a
tuple
👍 1
h
Cool.
Collection
is literally just a newtype of tuple