class - Self-referencing classes in python? -
in python, can have classes members pointers members of type of same class? example, in c, might have following class node in binary tree:
struct node {     int data;     struct node* left;     struct node* right; }  how equivalently create in python?
python dynamic language. attributes can bound @ (almost) time type. therefore, problem describing not exist in python.
Comments
Post a Comment