Paul LaFollette wrote:

since type(Node) responds with <class, 'NoneType'> but the assertion
above gives "name 'NoneType' is not defined" suggesting that NoneType
is some sort of quasi-class.

add NoneType = type(None) before using Nonetype

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

Reply via email to