-
Notifications
You must be signed in to change notification settings - Fork 0
Class Properties Access
Vinicius Reif Biavatti edited this page Jul 25, 2022
·
2 revisions
✅ Do
class Person:
# Public
@property
def name(self) -> str:
...
# Protected
@property
def _surname(self) -> str:
...
# Private
@property
def __age(self) -> int:
...
- Home
- Structural Naming Conventions
- Format Conventions
- Code Naming Conventions
- Inheritance
- Access Modifiers
- Importation
- Functions and Methods
- Documentation
- Resources