All Questions
1
question
2
votes
7
answers
796
views
Exposing members or make them private in Python?
Is there a general convention about exposing members in Python classes? I know that this is a case of "it depends", but maybe there is a rule of thumb.
Private member:
class Node:
def __init__(...