![]() |
|
|
+ Search |
![]()
|
Jul 12th, 2000 00:55
unknown unknown, Thomas Wouters
PyObject_GetAttrString takes a PyObject pointer and a char pointer, whereas PyObject_GetAttr takes two PyObject pointers: the second argument should be a PyString, which is then turned into a char pointer (using PyString_AS_STRING) and passed to PyObject_GetAttrString.