Home | History | Annotate | Download | only in python2.7

Lines Matching full:attr_name

146      int PyObject_HasAttrString(PyObject *o, char *attr_name);
148 Returns 1 if o has the attribute attr_name, and 0 otherwise.
150 hasattr(o,attr_name).
158 PyObject* PyObject_GetAttrString(PyObject *o, char *attr_name);
160 Retrieve an attributed named attr_name form object o.
162 This is the equivalent of the Python expression: o.attr_name.
168 int PyObject_HasAttr(PyObject *o, PyObject *attr_name);
170 Returns 1 if o has the attribute attr_name, and 0 otherwise.
172 hasattr(o,attr_name).
180 PyObject* PyObject_GetAttr(PyObject *o, PyObject *attr_name);
182 Retrieve an attributed named attr_name form object o.
184 This is the equivalent of the Python expression: o.attr_name.
191 int PyObject_SetAttrString(PyObject *o, char *attr_name, PyObject *v);
193 Set the value of the attribute named attr_name, for object o,
195 the equivalent of the Python statement: o.attr_name=v.
201 int PyObject_SetAttr(PyObject *o, PyObject *attr_name, PyObject *v);
203 Set the value of the attribute named attr_name, for object o,
205 the equivalent of the Python statement: o.attr_name=v.
211 int PyObject_DelAttrString(PyObject *o, char *attr_name);
213 Delete attribute named attr_name, for object o. Returns
215 statement: del o.attr_name.
222 int PyObject_DelAttr(PyObject *o, PyObject *attr_name);
224 Delete attribute named attr_name, for object o. Returns -1
226 statement: del o.attr_name.