Say I have a basic Circle class, for example: class Circle: def __init__(self, radius): self.__radius = radius
Does adding the double underscore make this member directly inaccessible to children of the Circle class? Also, I'd like to know if there are any side effects to programming classes this way? Sent from my iPhone _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor