1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-04 10:30:05 +08:00
SpaceVim/bundle/jedi-vim/pythonx/jedi/test/static_analysis/descriptors.py

14 lines
245 B
Python
Raw Normal View History

2022-10-23 15:41:52 +08:00
# 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')