What is a metaclass in Python?



What is a metaclass in Python?..

Answer / Km Sangita

A metaclass in Python is a class of a class. It is used to customize the behavior of a class by modifying its methods and attributes during class creation. Metaclasses can be useful for creating multiple classes with similar properties, extending built-in classes, or adding new features to the Python object system.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Python Interview Questions

What is an egg in python?

1 Answers  


What is wrong with the code?

1 Answers  


Explain the interpretation in python?

1 Answers  


What is standard output in python?

1 Answers  


How many keywords are there in python?

1 Answers  


How can I execute arbitrary python statements from c?

1 Answers  


What is class inheritance in python?

1 Answers  


What is unlink in python?

1 Answers  


What is complex type in python?

1 Answers  


Write a coding in find a largest among three numbers?

1 Answers  


What is the difference between ‘match’ and ‘search’ in python?

1 Answers  


Why is python not fully object oriented?

1 Answers  


Categories