attribute is accessed from Nonetype

Shanth Kumar shanthulinux at gmail.com
Thu Aug 2 12:28:10 CEST 2012


Hi ,All,
I am Shanthkumar. Good to see the mailing list for python programmers.
Please find my query below,

In my source code in a python file e.g xyz.py couple of classes are defined
also there is a wrapper class, a none object is declared in the file e.g
temp=None
from temp some attributes are being accessed in the files that are
importing xyz.py
even though temp is not initialised to any other object still it is none
object attributes are being accessed from None object.Is there any
significance of wrapper class here..?
Can you please help me.

-- 
Regards...,
Shanthkumara O.D.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20120802/f784f6b5/attachment.html>


More information about the Python-list mailing list