Home
last modified time | relevance | path

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

/external/python/cpython3/Modules/clinic/
Dpyexpat.c.h240 const char *namespace_separator, PyObject *intern);
249 const char *namespace_separator = NULL; in pyexpat_ParserCreate() local
253 &encoding, &namespace_separator, &intern)) { in pyexpat_ParserCreate()
256 return_value = pyexpat_ParserCreate_impl(module, encoding, namespace_separator, intern); in pyexpat_ParserCreate()
/external/python/cpython3/Lib/test/
Dtest_pyexpat.py19 self.parser = expat.ParserCreate(namespace_separator='!')
230 parser = expat.ParserCreate(namespace_separator='!')
242 parser = expat.ParserCreate(namespace_separator='!')
253 parser = expat.ParserCreate(namespace_separator='!')
279 expat.ParserCreate(namespace_separator=None)
280 expat.ParserCreate(namespace_separator=' ')
284 expat.ParserCreate(namespace_separator=42)
291 expat.ParserCreate(namespace_separator='too long')
306 expat.ParserCreate(namespace_separator='') # too short
337 parser = expat.ParserCreate(namespace_separator='!')
/external/python/cpython2/Lib/test/
Dtest_pyexpat.py15 self.parser = expat.ParserCreate(namespace_separator='!')
151 parser = expat.ParserCreate(namespace_separator='!')
180 parser = expat.ParserCreate(namespace_separator='!')
209 parser = expat.ParserCreate(namespace_separator='!')
263 expat.ParserCreate(namespace_separator=None)
264 expat.ParserCreate(namespace_separator=' ')
268 expat.ParserCreate(namespace_separator=42)
275 expat.ParserCreate(namespace_separator='too long')
290 expat.ParserCreate(namespace_separator='') # too short
/external/python/cpython2/Modules/
Dpyexpat.c1281 newxmlparseobject(char *encoding, char *namespace_separator, PyObject *intern) in newxmlparseobject() argument
1309 if (namespace_separator != NULL) { in newxmlparseobject()
1310 self->itself = XML_ParserCreateNS(encoding, *namespace_separator); in newxmlparseobject()
1744 char *namespace_separator = NULL; in pyexpat_ParserCreate() local
1752 &encoding, &namespace_separator, &intern)) in pyexpat_ParserCreate()
1754 if (namespace_separator != NULL in pyexpat_ParserCreate()
1755 && strlen(namespace_separator) > 1) { in pyexpat_ParserCreate()
1776 result = newxmlparseobject(encoding, namespace_separator, intern); in pyexpat_ParserCreate()
/external/python/cpython3/Modules/
Dpyexpat.c1165 newxmlparseobject(const char *encoding, const char *namespace_separator, PyObject *intern) in newxmlparseobject() argument
1188 namespace_separator); in newxmlparseobject()
1556 const char *namespace_separator, PyObject *intern) in pyexpat_ParserCreate_impl() argument
1562 if (namespace_separator != NULL in pyexpat_ParserCreate_impl()
1563 && strlen(namespace_separator) > 1) { in pyexpat_ParserCreate_impl()
1584 result = newxmlparseobject(encoding, namespace_separator, intern); in pyexpat_ParserCreate_impl()
/external/python/cpython2/Doc/library/
Dpyexpat.rst68 .. function:: ParserCreate([encoding[, namespace_separator]])
78 value for *namespace_separator*. The value must be a one-character string; a
89 For example, if *namespace_separator* is set to a space character (``' '``) and
/external/python/cpython3/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
/external/python/cpython3/Lib/xml/dom/
Dexpatbuilder.py721 parser = expat.ParserCreate(namespace_separator=" ")
/external/python/cpython2/Lib/xml/dom/
Dexpatbuilder.py728 parser = expat.ParserCreate(namespace_separator=" ")