(meta, *bases)
return meta(str("NewBase"), bases, {})
Create a base class with a metaclass.

    I'm not sure exactly why this is needed, but the implementation in six
    changed (see
    https://github.com/django/django/commit/a2340ac6d6b7e31c7e97e8fdaf3e1d73e43b24ba)
    and the new version doesn't work here.
Create a base class with a metaclass.
Create a base class with a metaclass .
def with_metaclass(meta, *bases):
    """Create a base class with a metaclass.

    I'm not sure exactly why this is needed, but the implementation in six
    changed (see
    https://github.com/django/django/commit/a2340ac6d6b7e31c7e97e8fdaf3e1d73e43b24ba)
    and the new version doesn't work here.

    """
    return meta(str("NewBase"), bases, {})
def with_metaclass ( meta , * bases ) : return meta ( str ( "NewBase" ) , bases , { } )