Lines Matching defs:flag
230 "SetParamEntityParsing($self, flag, /)\n"
235 "Possible flag values are XML_PARAM_ENTITY_PARSING_NEVER,\n"
237 "XML_PARAM_ENTITY_PARSING_ALWAYS. Returns true if setting the flag\n"
244 pyexpat_xmlparser_SetParamEntityParsing_impl(xmlparseobject *self, int flag);
250 int flag;
252 flag = _PyLong_AsInt(arg);
253 if (flag == -1 && PyErr_Occurred()) {
256 return_value = pyexpat_xmlparser_SetParamEntityParsing_impl(self, flag);
265 "UseForeignDTD($self, flag=True, /)\n"
272 "information to the parser. \'flag\' defaults to True if not provided.");
279 int flag);
288 int flag = 1;
297 flag = PyObject_IsTrue(args[0]);
298 if (flag < 0) {
302 return_value = pyexpat_xmlparser_UseForeignDTD_impl(self, cls, flag);