Home
last modified time | relevance | path

Searched refs:namespace_separator (Results 1 – 5 of 5) sorted by relevance

/third_party/python/Modules/clinic/
Dpyexpat.c.h265 const char *namespace_separator, PyObject *intern);
276 const char *namespace_separator = NULL; in pyexpat_ParserCreate() local
311 namespace_separator = NULL; in pyexpat_ParserCreate()
315 namespace_separator = PyUnicode_AsUTF8AndSize(args[1], &namespace_separator_length); in pyexpat_ParserCreate()
316 if (namespace_separator == NULL) { in pyexpat_ParserCreate()
319 if (strlen(namespace_separator) != (size_t)namespace_separator_length) { in pyexpat_ParserCreate()
334 return_value = pyexpat_ParserCreate_impl(module, encoding, namespace_separator, intern); in pyexpat_ParserCreate()
/third_party/python/Lib/test/
Dtest_pyexpat.py20 self.parser = expat.ParserCreate(namespace_separator='!')
231 parser = expat.ParserCreate(namespace_separator='!')
243 parser = expat.ParserCreate(namespace_separator='!')
254 parser = expat.ParserCreate(namespace_separator='!')
280 expat.ParserCreate(namespace_separator=None)
281 expat.ParserCreate(namespace_separator=' ')
285 expat.ParserCreate(namespace_separator=42)
292 expat.ParserCreate(namespace_separator='too long')
307 expat.ParserCreate(namespace_separator='') # too short
338 parser = expat.ParserCreate(namespace_separator='!')
/third_party/python/Modules/
Dpyexpat.c1133 const char *namespace_separator, PyObject *intern) in newxmlparseobject() argument
1155 namespace_separator); in newxmlparseobject()
1526 const char *namespace_separator, PyObject *intern) in pyexpat_ParserCreate_impl() argument
1532 if (namespace_separator != NULL in pyexpat_ParserCreate_impl()
1533 && strlen(namespace_separator) > 1) { in pyexpat_ParserCreate_impl()
1555 result = newxmlparseobject(state, encoding, namespace_separator, intern); in pyexpat_ParserCreate_impl()
/third_party/python/Doc/library/
Dpyexpat.rst67 .. function:: ParserCreate(encoding=None, namespace_separator=None)
77 value for *namespace_separator*. The value must be a one-character string; a
88 For example, if *namespace_separator* is set to a space character (``' '``) and
/third_party/python/Lib/xml/dom/
Dexpatbuilder.py721 parser = expat.ParserCreate(namespace_separator=" ")