Files
2025-05-20 11:57:43 -04:00

7 lines
148 B
Python

string_types = str, bytes
def with_metaclass(meta, *bases):
"""Create a base class with a metaclass."""
return meta("NewBase", bases, {})