示例#1
0
文件: dict.go 项目: remh/go-python
// void PyDict_Clear(PyObject *p)
// Empty an existing dictionary of all key-value pairs.
func PyDict_Clear(self *PyObject) {
	C.PyDict_Clear(topy(self))
}
示例#2
0
文件: dict.go 项目: gbbr/textmate
// Clear empties the dictionary d of all key-value pairs.
func (d *Dict) Clear() {
	C.PyDict_Clear(c(d))
}
示例#3
0
文件: dict.go 项目: MogeiWang/py
// Clear empties the dictionary d of all key-value pairs.
func (d *Dict) Clear() {
	C.PyDict_Clear(d.c())
}