Ai
3 Star 0 Fork 0

mirrors_go-python/gpython

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
file.go 349 Bytes
一键复制 编辑 原始数据 按行查看 历史
Nick Craig-Wood 提交于 2013-12-13 06:25 +08:00 . Basic file object
// File object
//
// FIXME cpython 3.3 has a compicated heirachy of types to implement
// this which we do not emulate yet
package py
import (
"os"
)
var FileType = NewTypeX("file", `represents an open file`,
nil, nil)
type File os.File
// Type of this object
func (o *File) Type() *Type {
return FileType
}
// Check interface is satisfied
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_go-python/gpython.git
git@gitee.com:mirrors_go-python/gpython.git
mirrors_go-python
gpython
gpython
v0.0.1

搜索帮助