示例#1
0
文件: input_output.py 项目: 8l/pycket
def open_input_string(w_str, name):
    # FIXME: name is ignore
    return values.W_StringInputPort(w_str.as_str_utf8())
示例#2
0
文件: input_output.py 项目: 8l/pycket
def open_input_bytes(bstr, name):
    # FIXME: name is ignore
    return values.W_StringInputPort(bstr.as_str())