Level 1 : What is the purpose of the __init_subclass__ method in Python?

Author: IndraD | Tags: __init_subclass__ | 1736+ Python FAQs | Share
list-vs-tuple | library | return-statement | update | operations | data-structure | list-comprehension | sum() | goto-function | decimal | mysql | data-structures | string-formatting | escape-operator | slice | pandas | file-handling | shallow-copy | int | descriptors | binary | list-slicing | input | file_handling | filter | docstring | syntax | context-manager | set-operation | arithmetic-operation | zfill-function | assert | namespace | recurssion | method | arithmetic-expression | command-line-parsing | raise | split | python-repl | precedence | global | random-function | tuple-unpacking | numeric | string-method | global-keyword | string-iteration | multiple-inheritance | lambdas | encoding | call | installation | identifier | dictionary | module | control-statement | turtle | type-conversion | print | nested-loop | parameter | invalid-list | constructor | expand-tab | filter-function | format | operator-and | variable | keyword | application | type_conversion | virtual-environment | input-function | built-in | loop | data-structure | list-comprehension | multiprocessing | lambda | debugging | copy | integer | objects | memory | operator-overloading | counter-function | compute | init | global-variable | error | comment | touples | min-function | pep | heap-memory | pickling-&-unpickling | global-variable | list | static-method | default-mutable-argument | iterable | string-method | math | operators | asyncio | sys | immutability | stack | factorial-function | match | datetime | scientific-notation | list-method | regular-expression | random | higher-order-function | else-statement | id-function | syntax-error | bitwise-operator | pseudocode | head-and-tail | exception | multithreading | data_structure | classes | import-method | expression | software-design | exception-handling | set | asyncio-module | built-in-function | object-attribute | type-conversion | logical-operation | version | with-statement | identity-operator | overflow | precedence-and-associativity | frozenset | loops | attribute | logical-operator | syntax-error | python-django | recursion | enumerate() | lists | polymorphism | collection | memory-management | virtual-environment | functional-programming | built-in-function | generator | destructor | inheritance | python-history | sum-function | floating-point-precision | binary-operation | __all__-attribute | postfix | yield | __init_subclass__ | dictionaries | inherit | access-modifier | while-and-for-loop | class-and-instance-variable | list-operation | string-concatenation | gil | datatype | max-min | data-type | async | oops | while-else-loop | __future__ | mathematical-function | data-type | deep-copy | zip | sorting | odd-number | min-max-function | map-function | class | matrix-list-comprehension | choice | operator | syntaxerror | math-copysign | matplotlib | join | function | for | python | round | iterator | function-argument | functions | class-and-object | sys-module | rollback | matrix | methods | error-handling | encapsulation | benefit | staticmethod | version-check | string-formatting | exception-handling | list-indexing | dicts | exponentiation | file | mutable | comprehension | range | thread | conditional-statement | operand | operator-or | design-principle | append | class-and-inheritance | generators | input-function | decorator | name-mangling | array | generators-in-python | while-loop | complex | python-module | list-join | implementation | collections | counter | statement | print-statement | basic | string-slicing | formal-and-actual-parameter | tuple | comparison | complex-number | lambda-function | string-slicing | fabs-function | indexing | control-flow | round-function | center | oop | control-flow | namedtuple | bitwise | conditional-statement | immutable-data-type | bitwise-operator | sorted | interpreter | mathematics | boolean | threading | zip-function | indentation | string-manipulation | logical-operator | assignment-operator | def | mapping-function | magic-method | package-management | feature | swapping | numpy | loop-control | list-mutation | string | slicing | file-handling | boolean-and-non-boolean | function-and-scope | condition | python_version | identity-operator | typeerror | regex | conversion ...