Odd syntactic NON-error?
Alaric Haag
haag at lsu.edu
Fri Jan 30 12:36:45 EST 2009
Hello,
I just noticed that I've been successfully importing a module I wrote
which contains a class definition that begins with (docstring removed):
class TDF():
def __init__(self, name='', mode=tscan. GP_NOCLOBBER):
Note the "space" which shouldn't be here---^
I'm running Python 2.5.2.
What does the interpreter "think" I'm doing? It's not flagged by pylint
either, so I suspect there's a reasonable explanation.
Alaric
More information about the Python-list
mailing list