Froquiz
Home
Quizzes
Senior Challenge
Get Certified
Blog
About
🇬🇧
en
Sign In
Start Quiz
🇬🇧
en
Sign In
Start Quiz
Loading...
Quiz Topics
1
2
3
4
5
6
7
8
9
10
01
/ 10
What does the __init_subclass__ hook do in Python?
Auto Skip
Report Issue
__init_subclass__ can only be used inside metaclass
Called automatically when subclass is created; used for plugin registration and subclass validation
__init_subclass__ calls the __init__ of the subclass
__init_subclass__ was added in Python 3.10
Previous
Next