Reputation: 21
This are the default methods. Which are other default methods?
class Person:
def __init__(self):
pass
def __str__(self):
pass
Upvotes: 1
Views: 32
Reputation: 1333
They are explained at this document. Also dir()
can show names methods of class.
Upvotes: 1