openmmtools.utils.with_metaclass¶
- openmmtools.utils.with_metaclass(metaclass, *bases)[source]¶
Create a base class with a metaclass.
Imported from six (MIT license): https://pypi.python.org/pypi/six. Provide a Python2/3 compatible way to create a metaclass.