When I run this code (this is the current integer code, ie only 3 lines):
import pygame
class sp(pygame.sprite):
pass
I get:
TypeError: module () takes at most 2 arguments (3 given)
I would like to inherit this class to create some additional objects in it, as well as perform some of the existing functions.
For example, instead of ...
mysprites = pygame.sprite.Group()
I want ...
mysprites = sp.Group()
How can I do this?