syntax error in python function definitions -
sorry if sound complete idiot when asking this, i'm new python. when create function :
def load_content(name, colorkey=none, datatype): it tells me there syntax error. can tell, right way write function. said, i'm new. know what's wrong here?
you can't have default arguments between non-default arguments
def load_content(name, colorkey=none, datatype=none): or
def load_content(name, datatype, colorkey=none):
Comments
Post a Comment