When trying to fix an issue in typeshed we found that both mypy and pyright raised incorrect errors that were also inconsistent with one another so I'm creating this issue to facilitate further discussion on resolving this.
class A:
@property
def foo(self):
return 'a'
A.foo.fget(A())
mypy: "Callable[[A], Any]" has no attribute "fget"
pyright: Expected 0 positional arguments
Initial PR attempt and relevant discussions can be found here