Commits

Vinay Sajip committed a154c77

Renamed internal base class.

  • Participants
  • Parent commits 85252d9

Comments (0)

Files changed (2)

     integer_types = (int, long)
 
     def with_metaclass(meta, base=object):
-        class NewBase(base):
+        class _ElixirBase(base):
             __metaclass__ = meta
-        return NewBase
+        return _ElixirBase
 
     execfile_ = execfile
 else:
 
     def with_metaclass(meta, base=object):
         ns = dict(base=base, meta=meta)
-        exec_("""class NewBase(base, metaclass=meta):
+        exec_("""class _ElixirBase(base, metaclass=meta):
     pass""", ns)
-        return ns["NewBase"]
+        return ns["_ElixirBase"]
 
 long_type = integer_types[-1]
 
     """
     result = False
     for base in cls.__bases__:
-        if base.__name__ == 'NewBase':
+        if base.__name__ == '_ElixirBase':
             continue
         if isinstance(base, EntityMeta):
             result = True