Lines Matching defs:obj
399 obj: object
411 builtin_ascii(PyObject *module, PyObject *obj)
414 return PyObject_ASCII(obj);
441 obj: object
451 builtin_callable(PyObject *module, PyObject *obj)
454 return PyBool_FromLong((long)PyCallable_Check(obj));
1171 obj: object
1177 This is done by calling getattr(obj, name) and catching AttributeError.
1181 builtin_hasattr_impl(PyObject *module, PyObject *obj, PyObject *name)
1186 if (_PyObject_LookupAttr(obj, name, &v) < 0) {
1205 obj as v: object
1507 obj: object
1518 builtin_setattr_impl(PyObject *module, PyObject *obj, PyObject *name,
1522 if (PyObject_SetAttr(obj, name, value) != 0)
1531 obj: object
1541 builtin_delattr_impl(PyObject *module, PyObject *obj, PyObject *name)
1544 if (PyObject_SetAttr(obj, name, (PyObject *)NULL) != 0)
1553 obj: object
1563 builtin_hash(PyObject *module, PyObject *obj)
1568 x = PyObject_Hash(obj);
1686 obj: object
1693 builtin_len(PyObject *module, PyObject *obj)
1698 res = PyObject_Size(obj);
1848 "min(iterable, *[, default=obj, key=func]) -> value\n\
1865 "max(iterable, *[, default=obj, key=func]) -> value\n\
2286 obj: object
2291 For many object types, including most builtins, eval(repr(obj)) == obj.
2295 builtin_repr(PyObject *module, PyObject *obj)
2298 return PyObject_Repr(obj);
2629 obj: object
2641 builtin_isinstance_impl(PyObject *module, PyObject *obj,
2647 retval = PyObject_IsInstance(obj, class_or_tuple);