![]() | __init__(self [, args]): constructor |
![]() | __del__(self): destructor (seldom needed since Python offers automatic garbage collection) |
![]() | __str__(self): string representation for pretty printing of the object (called by print or str) |
![]() | __repr__(self): string representation for initialization (a==eval(repr(a)) is true) |