title: Fix 'new enumerations must be created as'
body: <p>I'm working in Python 2 and have the following class</p>
  
  <pre><code>import enum
  
  class MyClass(object):
      pass
  
  @enum.unique
  classMyEnum(enum.IntEnum, MyClass):
      A = 1
      B = 2
  </code></pre>
  
  <p>When I run this code I get a following error:</p>
  
  <pre><code>  File "C:\Python27\lib\site-packages\enum\__init__.py", line 506, in _get_mixins_
      raise TypeError("new enumerations must be created as "
  TypeError: new enumerations must be created as `ClassName([mixin_type,] enum_type)`
  </code></pre>
  
  <p>I work with Python on a regular basis but I must admit I never really dove into it. I can't really figure out what is going on. I'm not really sure how to read this error. Can someone help me out with this?</p>