示例#1
0
文件: spl.py 项目: CodeOps/hippyvm
def di_is_writable(interp, this):
    if this.w_dir_res.index < this.w_dir_res.no_of_items:
        item = _di_pathname(this)
    else:
        item = this.path
    return _is_writable(interp.space, item)
示例#2
0
文件: spl.py 项目: netyum/hippyvm
def is_writable(interp, this):
    return _is_writable(interp.space, this.file_name)
示例#3
0
文件: spl.py 项目: CodeOps/hippyvm
def is_writable(interp, this):
    return _is_writable(interp.space, this.file_name)
示例#4
0
def di_is_writable(interp, this):
    if this.w_dir_res.index < this.w_dir_res.no_of_items:
        item = _di_pathname(this)
    else:
        item = this.path
    return _is_writable(interp.space, item)