|
|
@ -12,7 +12,7 @@ PyMapping_SetItemString(o, key, value) |
|
|
|
if( ! key) return Py_ReturnNullError(),-1; |
|
|
|
if (!(okey=PyString_FromString(key))) return -1; |
|
|
|
r = PyObject_SetItem(o,okey,value); |
|
|
|
if (--( okey )->ob_refcnt != 0) ; else (*( okey )->ob_type->tp_dealloc)((PyObject *)( okey )) ; |
|
|
|
if (--( okey )->ob_refcnt != 0) ; else (*( okey )->ob_type->tp_dealloc)((PyObject *)( okey )) ; // (1)request for member ‘ob_refcnt’ in something not a structure or union / (2)request for member ‘ob_type’ in something not a structure or union |
|
|
|
// ^(1) ^(2) |
|
|
|
return r; |
|
|
|
} |
|
|
|
|
|
|
|
} |