Searched refs:namespace_separator (Results 1 - 7 of 7) sorted by relevance
/external/python/cpython3/Modules/clinic/ |
H A D | pyexpat.c.h | 229 "ParserCreate($module, /, encoding=None, namespace_separator=None,\n" 240 const char *namespace_separator, PyObject *intern); 246 static const char * const _keywords[] = {"encoding", "namespace_separator", "intern", NULL}; 249 const char *namespace_separator = NULL; local 253 &encoding, &namespace_separator, &intern)) { 256 return_value = pyexpat_ParserCreate_impl(module, encoding, namespace_separator, intern);
|
/external/python/cpython3/Lib/test/ |
H A D | test_pyexpat.py | 19 self.parser = expat.ParserCreate(namespace_separator='!') 230 parser = expat.ParserCreate(namespace_separator='!') 242 parser = expat.ParserCreate(namespace_separator='!') 253 parser = expat.ParserCreate(namespace_separator='!') 276 # Tests that make sure we get errors when the namespace_separator value 279 expat.ParserCreate(namespace_separator=None) 280 expat.ParserCreate(namespace_separator=' ') 284 expat.ParserCreate(namespace_separator=42) 291 expat.ParserCreate(namespace_separator='too long') 295 'namespace_separator mus [all...] |
/external/python/cpython2/Lib/test/ |
H A D | test_pyexpat.py | 15 self.parser = expat.ParserCreate(namespace_separator='!') 151 parser = expat.ParserCreate(namespace_separator='!') 180 parser = expat.ParserCreate(namespace_separator='!') 209 parser = expat.ParserCreate(namespace_separator='!') 260 # Tests that make sure we get errors when the namespace_separator value 263 expat.ParserCreate(namespace_separator=None) 264 expat.ParserCreate(namespace_separator=' ') 268 expat.ParserCreate(namespace_separator=42) 275 expat.ParserCreate(namespace_separator='too long') 279 'namespace_separator mus [all...] |
/external/python/cpython2/Modules/ |
H A D | pyexpat.c | 1281 newxmlparseobject(char *encoding, char *namespace_separator, PyObject *intern) 1309 if (namespace_separator != NULL) { 1310 self->itself = XML_ParserCreateNS(encoding, *namespace_separator); 1739 "ParserCreate([encoding[, namespace_separator]]) -> parser\n\ 1746 char *namespace_separator = NULL; 1750 static char *kwlist[] = {"encoding", "namespace_separator", 1754 &encoding, &namespace_separator, &intern)) 1756 if (namespace_separator != NULL 1757 && strlen(namespace_separator) > 1) { 1759 "namespace_separator mus [all...] |
/external/python/cpython3/Modules/ |
H A D | pyexpat.c | 1164 newxmlparseobject(const char *encoding, const char *namespace_separator, PyObject *intern) argument 1185 /* namespace_separator is either NULL or contains one char + \0 */ 1187 namespace_separator); 1550 namespace_separator: str(accept={str, NoneType}) = NULL 1558 const char *namespace_separator, PyObject *intern) 1564 if (namespace_separator != NULL 1565 && strlen(namespace_separator) > 1) { 1567 "namespace_separator must be at most one" 1586 result = newxmlparseobject(encoding, namespace_separator, intern); 1557 pyexpat_ParserCreate_impl(PyObject *module, const char *encoding, const char *namespace_separator, PyObject *intern) argument
|
/external/python/cpython2/Lib/xml/dom/ |
H A D | expatbuilder.py | 728 parser = expat.ParserCreate(namespace_separator=" ")
|
/external/python/cpython3/Lib/xml/dom/ |
H A D | expatbuilder.py | 721 parser = expat.ParserCreate(namespace_separator=" ")
|
Completed in 255 milliseconds