Lines Matching defs:notes
51 self->notes = NULL;
87 Py_CLEAR(self->notes);
112 Py_VISIT(self->notes);
224 PyObject *notes = PyObject_GetAttr(self, &_Py_ID(__notes__));
225 if (notes == NULL) {
228 if (!PyList_Check(notes)) {
229 Py_DECREF(notes);
233 if (PyList_Append(notes, note) < 0) {
234 Py_DECREF(notes);
237 Py_DECREF(notes);
947 PyObject *notes = PyObject_GetAttr(orig, &_Py_ID(__notes__));
948 if (notes == NULL) {
951 if (PySequence_Check(notes)) {
952 /* Make a copy so the parts have independent notes lists. */
953 PyObject *notes_copy = PySequence_List(notes);
954 Py_DECREF(notes);
967 * notes of non-sequence type.
969 Py_DECREF(notes);
1331 return (e1->notes == e2->notes &&