Created
December 9, 2014 20:27
-
-
Save gergob/16a9f01a5c0cc155f29a to your computer and use it in GitHub Desktop.
MRO TypeError raised in command line
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
>>> from mro_type_error import Phablet | |
Traceback (most recent call last): | |
File "<stdin>", line 1, in <module> | |
File "mro_type_error.py", line 30, in <module> | |
class Phablet(SmartPhone, Tablet): | |
TypeError: Cannot create a consistent method resolution | |
order (MRO) for bases Phone, Computer | |
>>> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment