@classdef.singleton_method("entries", dirname="path")
    def method_entries(self, space, dirname):
        try:
            return space.newarray([space.newstr_fromstr(d) for d in os.listdir(dirname)])
        except __HOLE__ as e:
            raise error_for_oserror(space, e)
dataset/ETHPy150Open topazproject/topaz/topaz/objects/dirobject.py/W_DirObject.method_entries