On Mon, Nov 5, 2012 at 6:07 PM, Chris Rebert <c...@rebertia.com> wrote:
>>>> x = None
>>>> x.a = 42
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
> AttributeError: 'NoneType' object has no attribute 'a'

Python needs a YouGottaBeKiddingMeError for times when you do
something utterly insane like this. Attributes of None??!? :)

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

Reply via email to