You are viewing a single comment's thread. Return to all comments →
Thanks! Adding slots to the class definition worked, but it only works for new-style classes (if using Python2) i.e.
class Node(object):
Seems like cookies are disabled on this browser, please enable them to open this website
Tries: Contacts
You are viewing a single comment's thread. Return to all comments →
Thanks! Adding slots to the class definition worked, but it only works for new-style classes (if using Python2) i.e.
Class should extend 'object'