In last post, I mixed code w/ 'p' and 'point'.  Should be:

>>> point._fields_.append(('z', c_int))
>>> point.z = 30
>>> print 'List:', list(point)

List: [10, 20, 30]
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to