Skip to content

Instantly share code, notes, and snippets.

@KamilaBorowska
Created November 13, 2012 20:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KamilaBorowska/4068343 to your computer and use it in GitHub Desktop.
Save KamilaBorowska/4068343 to your computer and use it in GitHub Desktop.
glitchmr@strawberry ~> python
Python 2.7.3 (default, Sep 26 2012, 21:51:14)
[GCC 4.7.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> class Cat(list, str):
... pass
...
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: Error when calling the metaclass bases
multiple bases have instance lay-out conflict
>>>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment