Odd syntactic NON-error?

A

Alaric Haag

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,802
Messages
2,569,663
Members
45,433
Latest member
andrewartemow

Latest Threads

Top