Re: why is print a function
Paul Prescod <[email protected]> Tue, 27 Jul 2004 12:04:21 -0700
| Newsgroups | gmane.comp.lang.prothon.user |
|---|---|
| Message-ID | <[email protected]> |
Another reason: every keyword is an incursion into the user's namespace.
>>> class foo:
... def print(self):
File "<stdin>", line 2
def print(self):
^
SyntaxError: invalid syntax
>>>
Paul Prescod