Example #1
0
// void PyType_Modified(PyTypeObject *type)
// Invalidate the internal lookup cache for the type and all of its subtypes. This function must be called after any manual modification of the attributes or base classes of the type.
//
// New in version 2.6.
func PyType_Modified(self *PyTypeObject) {
	C.PyType_Modified(self.ptr)
}
Example #2
0
File: type.go Project: MogeiWang/py
// Modified should be called after the attributes or base class of a Type have
// been changed.
func (t *Type) Modified() {
	C.PyType_Modified(&t.o)
}