Python Programming
Showing posts with label
property
.
Show all posts
Showing posts with label
property
.
Show all posts
Friday, June 19, 2015
Controlling Attribute Access With Properties
Properties allow indirect access to private attributes. See example below. The private attribute _name is allowed to be access through a property.
Older Posts
Home
Subscribe to:
Posts (Atom)