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
P.S. in the PyMC3 code base I see these vacuously-parameterized methods used for delegation and for raising exceptions where a method is not implemented, but should be. I think there is probably a better mechanism for the latter, but I'm not as sure about the former.
feature request
See the directory
test-data/default-methods/
in my branch: https://github.com/rpgoldman/mypy/tree/default-method-exampleComplains that the
SubClass
method signature contradicts the one atSuperClass
(which has a vacuous parameter list):Ideally, mypy should recognize that a method definition whose signature is:
does not constrain any subclass's implementations of that method.
Python 3.6
none
The text was updated successfully, but these errors were encountered: