L
Larry Bates
I just ran into something I've not seen before:
class foo:
def print(self):
...do something...
creates a syntax error. Why can't a class have
a method called "print"? Doesn't seem to be
any way it could be confused with the reserved
print statement, or am I missing something?
Regards,
Larry Bates
class foo:
def print(self):
...do something...
creates a syntax error. Why can't a class have
a method called "print"? Doesn't seem to be
any way it could be confused with the reserved
print statement, or am I missing something?
Regards,
Larry Bates