On Thu, Dec 24, 2009 at 11:56 PM, Rodrick Brown wrote:
p=[]
if p is None:
> ... print 'yes'
> ...
> This doesn't work as expected.
That probably means that what you expect is wrong.
>>>p = []
# p is now a list object at a certain location
>>> if p is None:
#check to see if p (a l
>>> p=[]
>>> if p is None:
... print 'yes'
...
>>>
This doesn't work as expected.
--
[ Rodrick R. Brown ]
http://www.rodrickbrown.com http://www.linkedin.com/in/rodrickbrown
--
http://mail.python.org/mailman/listinfo/python-list