Special method names or Dunder __str__ , __repr__ , __add__ - Python OOPs 08

Published: 11 July 2020
on channel: Automation Zone
3,053
75

A class can implement certain operations that are invoked by special syntax (such as arithmetic operations or subscripting and slicing) by defining methods with special names. This is Python’s approach to operator overloading, allowing classes to define their own behavior with respect to language operators


Python Docs :- https://docs.python.org/3/reference/d...


Watch video Special method names or Dunder __str__ , __repr__ , __add__ - Python OOPs 08 online without registration, duration hours minute second in high quality. This video was added by user Automation Zone 11 July 2020, don't forget to share it with your friends and acquaintances, it has been viewed on our site 3,053 once and liked it 75 people.