<!-- If you're not sure whether what you're experiencing is a mypy bug, please see the "Question and Help" form instead. Please consider: - checking our common issues page: https://mypy.readthedocs.io/en/stable/common_issues.html - searching our issue tracker: https://github.com/python/mypy/issues to see if it's already been reported - asking on gitter chat: https://gitter.im/python/typing --> **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.