@classdef.singleton_method("mkdir", path="path", mode="int")
    def method_mkdir(self, space, path, mode=0777):
        try:
            os.mkdir(path, mode)
        except __HOLE__ as e:
            raise error_for_oserror(space, e)
        return space.newint(0)
dataset/ETHPy150Open topazproject/topaz/topaz/objects/dirobject.py/W_DirObject.method_mkdir