mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 22:44:27 +08:00
Ignore super calls when super class cannot be inferred
This commit is contained in:
@@ -276,3 +276,17 @@ qsplit = shlex.split("foo, ferwerwerw werw werw e")
|
||||
for part in qsplit:
|
||||
#? str()
|
||||
part
|
||||
|
||||
# -----------------
|
||||
# Unknown metaclass
|
||||
# -----------------
|
||||
|
||||
# Github issue 1321
|
||||
class Meta(object):
|
||||
pass
|
||||
|
||||
class Test(metaclass=Meta):
|
||||
def test_function(self):
|
||||
result = super(Test, self).test_function()
|
||||
#? []
|
||||
result.
|
||||
|
||||
Reference in New Issue
Block a user