@classdef.singleton_method("link", old_name="path", new_name="path")
        def singleton_method_link(self, space, old_name, new_name):
            try:
                os.link(old_name, new_name)
            except __HOLE__ as e:
                raise error_for_oserror(space, e)
            return space.newint(0)
dataset/ETHPy150Open topazproject/topaz/topaz/objects/fileobject.py/W_FileObject.singleton_method_link