scipy/scipy-stubs

refactor contextmanagers with a type-check-only mixins

Closed this issue · 0 comments

this would simplifies 9 classes, whose __enter__() methods return either Self (5) or None (4), which would require two separate mixins

image