Odd syntactic NON-error?

Jean-Paul Calderone exarkun at divmod.com
Fri Jan 30 18:39:48 CET 2009

On Fri, 30 Jan 2009 11:36:45 -0600, Alaric Haag <haag at lsu.edu> wrote:
>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---^

The space is irrelevant.

  >>> object. __init__
  <slot wrapper '__init__' of 'object' objects>
  >>> object.__init__ is object. __init__


More information about the Python-list mailing list