fix mro usage and all the type stuff (see also my blog post about why dir is wrong). fixes #314, fixes #86

This commit is contained in:
David Halter committed 2013-09-13 22:47:00 +04:30
1 parent 70123a6499
commit 5ad12bc8aa
5 files changed
+28 -10

No files matched your search

+2 -3
View File
@@ -222,8 +222,7 @@ class str():
def __init__(self, obj):
pass
class object():
class type():
def mro():
""" mro() -> list
return a type's method resolution order """
return [object]