Instead of using the recipe as mentioned by jdi, you can directly use:
class M_C(M_A, M_B):
pass
class C(A, B):
__metaclass__ = M_C
More Related Contents:
- Multiple inheritance metaclass conflict
- Triple inheritance causes metaclass conflict… Sometimes
- Is super() broken in Python-2.x? [closed]
- python abstractmethod with another baseclass breaks abstract functionality
- Provide __classcell__ example for Python 3.6 metaclass
- Name class error
- What does “SyntaxError: Missing parentheses in call to ‘print'” mean in Python?
- Pandas groupby with delimiter join
- Changes in import statement python3
- What does -> mean in Python function definitions?
- How are tuples unpacked in for loops?
- __getattr__ on a module
- Rolling window for 1D arrays in Numpy?
- Why is Tkinter Entry’s get function returning nothing?
- How to plot multiple Seaborn Jointplot in Subplot
- Django – Login with Email
- How to limit concurrency with Python asyncio?
- Want to find contours -> ValueError: not enough values to unpack (expected 3, got 2), this appears
- What’s the difference between __builtin__ and __builtins__?
- Python – difference between two strings
- How to draw a line with matplotlib?
- Search for a value in a nested dictionary python
- Pickle incompatibility of numpy arrays between Python 2 and 3
- How can I split a string of a mathematical expressions in python?
- How to call an async function without await?
- How to access class (static) variables in Python?
- SQLite not saving data between uses
- Format a number with commas to separate thousands
- What is internal representation of string in Python 3.x
- Run process with realtime output to a Tkinter GUI