You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the documentation s1 - s2 returns the set of all elements that are in s1 but not in s2. So what's the point of constraining s2 elements type? I believe the correct annotation for the argument of set.__sub__ would be AbstractSet[object] rather than AbstractSet[T | None].
According to the documentation
s1 - s2returns the set of all elements that are ins1but not ins2. So what's the point of constrainings2elements type? I believe the correct annotation for the argument ofset.__sub__would beAbstractSet[object]rather thanAbstractSet[T | None].typeshed/stdlib/builtins.pyi
Line 1100 in cf9bdc2