meta data for this page
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
programming:python:oop [2024/01/02 10:08] – niziak | programming:python:oop [2024/01/03 11:34] (current) – niziak | ||
---|---|---|---|
Line 2: | Line 2: | ||
===== special methods ===== | ===== special methods ===== | ||
+ | [[https:// | ||
* [[https:// | * [[https:// | ||
Line 7: | Line 8: | ||
* [[https:// | * [[https:// | ||
* It is not guaranteed that __del__() methods are called for objects that still exist when the interpreter exits. | * It is not guaranteed that __del__() methods are called for objects that still exist when the interpreter exits. | ||
+ | * **Note**: '' | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
===== call super constructor ===== | ===== call super constructor ===== | ||
Line 49: | Line 58: | ||
* **property** - properties are methods accessed like attributes. It gives full control on its getter, setter and deleter access. | * **property** - properties are methods accessed like attributes. It gives full control on its getter, setter and deleter access. | ||
+ | |||
+ | **delattr(object, | ||
+ | This is a relative of '' | ||
+ | |||
+ | |||
+ | ===== Object-like attribute access for nested dictionary ===== | ||
+ | * https:// | ||
+ | * https:// | ||
+ | * https:// | ||