#typeerror

9 messages · Page 1 of 1 (latest)

zenith hedge
#

im getting TypeError: Player.update() takes 1 positional argument but 2 were given

karmic sandal
#

You need to show the full error message, not just the last couple lines

zenith hedge
#

this is all it shows me

karmic sandal
#

You're missing the *args, **kwargs on your update method

zenith hedge
#

i have a new issue

#

rect: pygame.Rect = pygame.rect()
^^^^^^^^^^^^^
TypeError: Argument must be rect style object