
Feb. 12, 2021
2:39 a.m.
I still think that we should reconsider deferring what happens to class and instance methods. The arguments given in https://www.python.org/dev/peps/pep-0647/#id13 seem insufficient, specially considering than the workaround provided is quite awkward. The author suggests to write def check(self, self2) -> Typeguard[T] and call it as self.check(self).