Created
November 13, 2012 20:56
-
-
Save KamilaBorowska/4068343 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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