Closed
Description
Bug Report
if a varible inside a class is a method of other class, when you call it has problems counting the parameters
(A clear and concise description of what the bug is.)
To Reproduce
https://mypy-play.net/?mypy=latest&python=3.12&gist=75f641be99916a76f9c9113fe99cd78d
Expected Behavior
The program run correctly ( on runtime or in pyright works fine)
Actual Behavior
mypy counts the second method as another self.