Programming Languages Python Mcq
Sep 30, 2025

What is the difference between __getattr__ and __getattribute__?

Choose the correct answer:
A) __getattr__ called when attribute not found, __getattribute__ called for all attribute access
B) No difference
C) __getattr__ is faster
D) __getattribute__ is deprecated
Discussion (0)

No comments yet. Be the first to share your thoughts!

Share Your Thoughts
Feedback