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:
1 parent
70123a6499
commit
5ad12bc8aa
5 files changed
+28
-10
No files matched your search
@@ -397,3 +397,15 @@ class TestX(object):
|
||||
var = self.conditional_method()
|
||||
#? int()
|
||||
var
|
||||
|
||||
# -----------------
|
||||
# mro method
|
||||
# -----------------
|
||||
|
||||
class A(object):
|
||||
pass
|
||||
|
||||
#? ['mro']
|
||||
A.mro
|
||||
#? []
|
||||
A().mro
|
||||
Reference in new issue
Block a user