"Joel Koltner" <[EMAIL PROTECTED]> writes:

> "Paul Hankin" <[EMAIL PROTECTED]> wrote in message 
> news:[EMAIL PROTECTED]
> "Did you actually write self,args = args?"
>
> (looks at source code)
>
> [EMAIL PROTECTED]  Why, yes, yes I did!  Thanks for catching that...

This is odd, because you should get this error even if writing
self.args=args, witness this copy-paste from the interactive prompt:

>>> class MyError(Exception):
...     def __init__(self, args=None):
...         self.args = args
... 
>>> MyError()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "<stdin>", line 3, in __init__
TypeError: 'NoneType' object is not iterable

-- 
Arnaud
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to