Zanurkuj w Pythonie/Metody specjalne: Różnice pomiędzy wersjami

Usunięta treść Dodana treść
Sasek (dyskusja | edycje)
Nie podano opisu zmian
Sasek (dyskusja | edycje)
Nie podano opisu zmian
Linia 1:
== Pobieranie i ustawianie elementów ==
== 5.6. Metody specjalne ==
 
* 5.6.1. Getting and Setting Items
 
In addition to normal class methods, there are a number of special methods that Python classes can define. Instead of being called directly by your code (like normal methods), special methods are called for you by Python in particular circumstances or when specific syntax is used.