Esempio n. 1
0
// Values returns a *List containing all the values from the dictionary d, as
// with the Python "d.values()".
//
// Return value: New Reference.
func (d *Dict) Values() (*List, error) {
	ret := C.PyDict_Values(c(d))
	return newList(ret), exception()
}
Esempio n. 2
0
// PyObject* PyDict_Values(PyObject *p)
// Return value: New reference.
// Return a PyListObject containing all the values from the dictionary p, as in the dictionary method dict.values().
func PyDict_Values(self *PyObject) *PyObject {
	return togo(C.PyDict_Values(topy(self)))
}