-
Notifications
You must be signed in to change notification settings - Fork 1
Access Modifier in Python
Rajesh Khadka edited this page Nov 16, 2019
·
2 revisions
Python doesn't support private and protected, by default all fields and methods are public. Implementation decision has been left for developers.
Just a convention:
protected: _ (single underscore) private : __ (double underscore)
References: