Tag Archives: getter

Python magic gets

  __getattribute__ and __getattr__ and __get__ and __getitem__ Lets get into these many gets. __getattr__ if the lookup attribute does not available in instance’s __dict__, then it will call __getattr__, still if it does not get, raises an AttributeError The … Continue reading

Posted in 10min, Python | Tagged , | Leave a comment