Home
last modified time | relevance | path

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

/external/python/cpython2/Lib/email/
Dparser.py18 def __init__(self, *args, **kws): argument
35 if '_class' in kws:
37 kws['_class'] = args[0]
39 if 'strict' in kws:
41 kws['strict'] = args[1]
44 if '_class' in kws:
45 self._class = kws['_class']
46 del kws['_class']
49 if 'strict' in kws:
52 del kws['strict']
[all …]
D__init__.py51 def message_from_string(s, *args, **kws): argument
57 return Parser(*args, **kws).parsestr(s)
60 def message_from_file(fp, *args, **kws): argument
66 return Parser(*args, **kws).parse(fp)
/external/python/cpython2/Lib/
Dstring.py148 def substitute(*args, **kws): argument
156 mapping = kws
157 elif kws:
158 mapping = _multimap(kws, args[0])
178 def safe_substitute(*args, **kws): argument
186 mapping = kws
187 elif kws:
188 mapping = _multimap(kws, args[0])
/external/python/cpython2/Lib/test/
Dtest_datetime.py1092 def __new__(cls, *args, **kws): argument
1093 temp = kws.copy()
1665 def __new__(cls, *args, **kws): argument
1666 temp = kws.copy()
1966 def __new__(cls, *args, **kws): argument
1967 temp = kws.copy()
2381 def __new__(cls, *args, **kws): argument
2382 temp = kws.copy()
2989 def __new__(cls, *args, **kws): argument
2990 temp = kws.copy()
/external/python/cpython2/Modules/
Dgcmodule.c1103 gc_collect(PyObject *self, PyObject *args, PyObject *kws) in gc_collect() argument
1109 if (!PyArg_ParseTupleAndKeywords(args, kws, "|i", keywords, &genarg)) in gc_collect()
/external/python/cpython2/Doc/library/
Dstring.rst685 .. method:: substitute(mapping[, **kws])
690 keywords are the placeholders. When both *mapping* and *kws* are given
691 and there are duplicates, the placeholders from *kws* take precedence.
694 .. method:: safe_substitute(mapping[, **kws])
697 *mapping* and *kws*, instead of raising a :exc:`KeyError` exception, the
/external/clang/test/Analysis/
Dmisc-ps.m835 void f(kwset_t *kws, char const *p, char const *q) {
837 struct trie * const *next = kws->next;
842 register unsigned char const *y = kws->y;
/external/python/cpython2/Doc/c-api/
Dveryhigh.rst247 …ject *globals, PyObject *locals, PyObject **args, int argcount, PyObject **kws, int kwcount, PyObj…
/external/python/cpython2/Python/
Dceval.c3348 PyObject **args, int argcount, PyObject **kws, int kwcount, in PyEval_EvalCodeEx() argument
3418 PyObject *keyword = kws[2*i]; in PyEval_EvalCodeEx()
3419 PyObject *value = kws[2*i + 1]; in PyEval_EvalCodeEx()