forked from VimPlug/jedi
ExecutedParams should never be additionally faked, even if they are the first params. They have been legitimately created by a caller.
This commit is contained in:
13
test/static_analysis/descriptors.py
Normal file
13
test/static_analysis/descriptors.py
Normal file
@@ -0,0 +1,13 @@
|
||||
# classmethod
|
||||
class TarFile():
|
||||
@classmethod
|
||||
def open(cls, name, **kwargs):
|
||||
return cls.taropen(name, **kwargs)
|
||||
|
||||
@classmethod
|
||||
def taropen(cls, name, **kwargs):
|
||||
return name
|
||||
|
||||
|
||||
# should just work
|
||||
TarFile.open('hallo')
|
||||
Reference in New Issue
Block a user