Lines Matching refs:of

13     # of the object is written instead of the repr().
23 # or NULL on failure. This is the equivalent of the Python
34 # or NULL on failure. This is the equivalent of the Python
38 # Set the value of the attribute named attr_name, for object o, to
39 # the value v. Returns -1 on failure. This is the equivalent of
43 # Set the value of the attribute named attr_name, for object o, to
44 # the value v. Returns -1 on failure. This is the equivalent of
49 # failure. This is the equivalent of the Python statement: "del
54 # failure. This is the equivalent of the Python statement "del
61 # Compare the values of o1 and o2 using the operation specified by
62 # opid, which must be one of Py_LT, Py_LE, Py_EQ, Py_NE, Py_GT, or
64 # respectively. This is the equivalent of the Python expression
66 # opid. Returns the value of the comparison on success, or NULL on
70 # Compare the values of o1 and o2 using the operation specified by
71 # opid, which must be one of Py_LT, Py_LE, Py_EQ, Py_NE, Py_GT, or
74 # otherwise. This is the equivalent of the Python expression "o1
78 # Compare the values of o1 and o2 using a routine provided by o1,
80 # result of the comparison is returned in result. Returns -1 on
81 # failure. This is the equivalent of the Python statement "result
85 # Compare the values of o1 and o2 using a routine provided by o1,
87 # the result of the comparison on success. On error, the value
94 # Compute a string representation of object o. Returns the string
96 # equivalent of the Python expression "repr(o)". Called by the
101 # Compute a string representation of object o. Returns the string
103 # equivalent of the Python expression "str(o)". Called by the
108 # Compute a Unicode string representation of object o. Returns the
110 # is the equivalent of the Python expression "unicode(o)". Called
114 # Returns 1 if inst is an instance of the class cls or a subclass
115 # of cls, or 0 if not. On error, returns -1 and sets an
117 # PyObject_IsInstance() returns 1 if inst is of type cls. If cls
119 # cls. The result will be 1 when at least one of the checks
123 # relationship of the value of that attribute with cls will be
124 # used to determine the result of this function.
127 # but includes a wrinkle that implementors of extensions to the
128 # class system may want to be aware of. If A and B are class
129 # objects, B is a subclass of A if it inherits from A either
131 # general mechanism is used to determine the class relationship of
132 # the two objects. When testing if B is a subclass of A, if A is
135 # fashion for A -- the presence of the __bases__ attribute is
140 # the class cls, otherwise returns 0. In case of an error, returns
142 # entry in cls. The result will be 1 when at least one of the
146 # 2.1. Changed in version 2.3: Older versions of Python did not
159 # are needed. Returns the result of the call on success, or NULL
160 # on failure. This is the equivalent of the Python expression
168 # may be NULL. Returns the result of the call on success, or NULL
169 # on failure. This is the equivalent of the Python expression
175 # of C arguments. The C arguments are described using a
177 # indicating that no arguments are provided. Returns the result of
179 # of the Python expression "apply(callable, args)" or
185 # Call the method named method of object o with a variable number
186 # of C arguments. The C arguments are described by a
189 # provided. Returns the result of the call on success, or NULL on
190 # failure. This is the equivalent of the Python expression
198 # of PyObject* arguments. The arguments are provided as a variable
199 # number of parameters followed by NULL. Returns the result of the
205 # Calls a method of the object o, where the name of the method is
207 # variable number of PyObject* arguments. The arguments are
208 # provided as a variable number of parameters followed by
209 # NULL. Returns the result of the call on success, or NULL on
213 # Compute and return the hash value of an object o. On failure,
214 # return -1. This is the equivalent of the Python expression
230 # object type of object o. On failure, raises SystemError and
232 # type(o). This function increments the reference count of the
234 # instead of the common expression o->ob_type, which returns a
235 # pointer of type PyTypeObject*, except when the incremented
239 # Return true if the object o is of type type or a subtype of
244 # Return the length of object o. If the object o provides either
251 # Return element of o corresponding to the object key or NULL on
252 # failure. This is the equivalent of the Python expression
257 # is the equivalent of the Python statement "o[key] = v".
261 # is the equivalent of the Python statement "del o[key]".
273 # a (possibly empty) list of strings appropriate for the object
275 # NULL, this is like the Python "dir()", returning the names of
290 # Takes an arbitrary object and returns the result of calling