-
Notifications
You must be signed in to change notification settings - Fork 0
Instance Methods
Vinicius Reif Biavatti edited this page Jul 25, 2022
·
1 revision
- Always use "self" as the first argument
- Do not need to set type hint for "self" variable
✅ Do
class Person:
def talk(self, message: str) -> None:
pass
- Home
- Structural Naming Conventions
- Format Conventions
- Code Naming Conventions
- Inheritance
- Access Modifiers
- Importation
- Functions and Methods
- Documentation
- Resources