Python "protected" attributes -
How can I get a private attribute of parent class from subclass (without making it public)?
<- _member is protected
- __mail is private
Options if you control the original class
- Make it secure instead of private because it looks like what you really want
If you do not control it
- Use the
Comments
Post a Comment