Lines Matching defs:value
345 /* ignore op->ob_ref: its value can have be modified
641 any other false value if the requested comparison is false
642 any other true value if the requested comparison is true
881 PyObject *type, *value, *traceback;
882 PyErr_Fetch(&type, &value, &traceback);
883 PyErr_NormalizeException(&type, &value, &traceback);
885 if (!PyErr_GivenExceptionMatches(value, PyExc_AttributeError)) {
888 PyAttributeErrorObject* the_exc = (PyAttributeErrorObject*) value;
894 if (PyObject_SetAttr(value, &_Py_ID(name), name) ||
895 PyObject_SetAttr(value, &_Py_ID(obj), v)) {
899 PyErr_Restore(type, value, traceback);
1013 PyObject_SetAttr(PyObject *v, PyObject *name, PyObject *value)
1028 err = (*tp->tp_setattro)(v, name, value);
1038 err = (*tp->tp_setattr)(v, (char *)name_str, value);
1049 value==NULL ? "del" : "assign to",
1056 value==NULL ? "del" : "assign to",
1373 PyObject *value, PyObject *dict)
1398 res = f(descr, obj, value);
1405 res = _PyObject_StoreInstanceAttribute(obj, *_PyObject_ValuesPointer(obj), name, value);
1423 res = _PyObjectDict_SetItem(tp, dictptr, name, value);
1429 if (value == NULL)
1432 res = PyDict_SetItem(dict, name, value);
1455 PyObject_GenericSetAttr(PyObject *obj, PyObject *name, PyObject *value)
1457 return _PyObject_GenericSetAttrWithDict(obj, name, value, NULL);
1461 PyObject_GenericSetDict(PyObject *obj, PyObject *value, void *context)
1477 if (value == NULL) {
1481 if (!PyDict_Check(value)) {
1484 "not a '%.200s'", Py_TYPE(value)->tp_name);
1487 Py_INCREF(value);
1488 Py_XSETREF(*dictptr, value);
1493 /* Test a value used as condition, e.g., in a while or if statement.
1615 None is a non-NULL undefined value.
2153 occurred. Py_ReprLeave() has no return value.