Lines Matching refs:Py_None

285     Py_INCREF(Py_None);
286 self->text = Py_None;
288 Py_INCREF(Py_None);
289 self->tail = Py_None;
310 Py_INCREF(Py_None);
311 e->tag = Py_None;
313 Py_INCREF(Py_None);
314 e->text = Py_None;
316 Py_INCREF(Py_None);
317 e->tail = Py_None;
423 Py_INCREF(Py_None);
424 _set_joined_ptr(&self_elem->text, Py_None);
426 Py_INCREF(Py_None);
427 _set_joined_ptr(&self_elem->tail, Py_None);
702 Py_INCREF(Py_None);
703 _set_joined_ptr(&self->text, Py_None);
705 Py_INCREF(Py_None);
706 _set_joined_ptr(&self->tail, Py_None);
857 if (object == Py_None || PyUnicode_CheckExact(object)) {
989 text = text ? JOIN_SET(text, PyList_CheckExact(text)) : Py_None;
993 tail = tail ? JOIN_SET(tail, PyList_CheckExact(tail)) : Py_None;
1221 if (checkpath(path) || namespaces != Py_None) {
1266 if (checkpath(path) || namespaces != Py_None)
1285 if (text == Py_None) {
1319 if (checkpath(path) || namespaces != Py_None) {
1418 tag = Py_None;
1422 tag = Py_None;
1438 return create_elementiter(self, Py_None, 1);
2199 if (it->sought_tag == Py_None)
2216 if (text == Py_None) {
2357 Py_INCREF(Py_None);
2358 t->this = Py_None;
2359 Py_INCREF(Py_None);
2360 t->last = Py_None;
2404 if (element_factory != Py_None) {
2411 if (comment_factory == Py_None) {
2424 if (pi_factory == Py_None) {
2515 if (!PyCallable_Check(comment_factory) && comment_factory != Py_None) {
2520 if (!PyCallable_Check(pi_factory) && pi_factory != Py_None) {
2527 st->comment_factory ? st->comment_factory : Py_None,
2528 st->pi_factory ? st->pi_factory : Py_None);
2530 if (comment_factory == Py_None) {
2536 if (pi_factory == Py_None) {
2553 if (dest_obj == Py_None) {
2580 if (previous != Py_None) {
2695 if (this != Py_None) {
2739 if (self->last == Py_None) {
2821 if (self->insert_comments && this != Py_None) {
2862 if (self->insert_pis && this != Py_None) {
2995 res = Py_None;
3352 (TreeBuilderObject*) self->target, Py_None
3437 res = treebuilder_handle_end_ns(target, Py_None);
3507 Py_INCREF(Py_None);
3508 sysid_obj = Py_None;
3519 Py_INCREF(Py_None);
3520 pubid_obj = Py_None;
3660 if (target != Py_None) {
4055 if (events_to_report == Py_None) {