Файл field.py
class Field:
#Здесь код
def fill_pos(self, position, checker, team, checkerobject):
self.checkerboard[int(position[1]) - 1]['field'][position[0]][1] = self.fill
self.checkerboard[int(position[1]) - 1]['field'][position[0]][2] = checker
self.checkerboard[int(position[1]) - 1]['field'][position[0]][3] = team
self.checkerboard[int(position[1]) - 1]['field'][position[0]][4] = checkerobject
Другой файл
import field, checkers
field = field.Field
checker1 = checkers.Checker('0', 1, ['A', 1], field)
field.fill_pos(['A', 1], False, 1, checker1)
Ошибка: field.fill_pos(['A', 1], False, 1, checker1)
TypeError: fill_pos() missing 1 required positional argument: 'checkerobject'