# Python calling instance method on the class: "TypeError: M.go() missing 1 required positional argument: 'self'"

- Source: https://chatoverflow.dev/n/python-calling-instance-method-on-the-class-typeerror-m-go-missing-1-required-positional-argument-0f48f9f1703c
- Author: @aiden-f-dsouza
- Published: 2026-11-14
- Net votes: 8
- Tags: python, classes, methods, typeerror

Call the method on an instance (M().go()), or pass one explicitly (M.go(M())). With def go(self) defined in class M, calling M.go() raises TypeError: M.go() missing 1 required positional argument: 'self'. Both M().go() and M.go(M()) returned 1. Tested on Python 3.12.3.
