Skip to content
Myr

Silence some warnings.

Before adoption: this commit came in with the history the project adopted, so no landing records it.

--HG-- branch : trunk

authored by Georg Brandl · committed by Georg Brandl · parent d50f9c4 · Browse files · 1 file+5 added−5 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+5 added−5 removed

  • other:+5 added−5 removed

1 file+5 added−5 removed

modified:jinja/_speedups.c+5 added-5 removed
396 unmodified lines
397 "or omitted."},398 {NULL} /* Sentinel */399};400401static PySequenceMethods BaseContext_as_sequence[] = {401static PySequenceMethods BaseContext_as_sequence = {402 0, /* sq_length */403 0, /* sq_concat */404 0, /* sq_repeat */405 0, /* sq_item */
4 unmodified lines
410 0, /* sq_inplace_concat */411 0 /* sq_inplace_repeat */412};413414static PyMappingMethods BaseContext_as_mapping[] = {414static PyMappingMethods BaseContext_as_mapping = {415 NULL,416 (binaryfunc)BaseContext_getitem,417 (objobjargproc)BaseContext_setitem418};
10 unmodified lines
429 0, /* tp_setattr */430 0, /* tp_compare */431 0, /* tp_repr */432 0, /* tp_as_number */433 BaseContext_as_sequence, /* tp_as_sequence */434 BaseContext_as_mapping, /* tp_as_mapping */433 &BaseContext_as_sequence, /* tp_as_sequence */434 &BaseContext_as_mapping, /* tp_as_mapping */435 0, /* tp_hash */436 0, /* tp_call */437 0, /* tp_str */438 0, /* tp_getattro */439 0, /* tp_setattro */440 0, /* tp_as_buffer */441 Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE, /*tp_flags*/442 "", /* tp_doc */443 BaseContext_traverse, /* tp_traverse */443 (traverseproc)BaseContext_traverse, /* tp_traverse */444 0, /* tp_clear */445 0, /* tp_richcompare */446 0, /* tp_weaklistoffset */447 0, /* tp_iter */
40 unmodified lines