Home
last modified time | relevance | path

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

12

/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/cpython3/Lib/email/
D__init__.py32 def message_from_string(s, *args, **kws): argument
38 return Parser(*args, **kws).parsestr(s)
40 def message_from_bytes(s, *args, **kws): argument
46 return BytesParser(*args, **kws).parsebytes(s)
48 def message_from_file(fp, *args, **kws): argument
54 return Parser(*args, **kws).parse(fp)
56 def message_from_binary_file(fp, *args, **kws): argument
62 return BytesParser(*args, **kws).parse(fp)
/external/python/cpython3/Lib/
Dstring.py104 def substitute(self, mapping=_sentinel_dict, /, **kws): argument
106 mapping = kws
107 elif kws:
108 mapping = _ChainMap(kws, mapping)
123 def safe_substitute(self, mapping=_sentinel_dict, /, **kws): argument
125 mapping = kws
126 elif kws:
127 mapping = _ChainMap(kws, mapping)
/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/cpython3/Lib/unittest/
Dloader.py98 def loadTestsFromModule(self, module, *args, pattern=None, **kws): argument
104 if len(args) > 0 or 'use_load_tests' in kws:
107 kws.pop('use_load_tests', None)
113 if len(kws) != 0:
118 complaint = sorted(kws)[0]
/external/python/cpython3/Lib/test/test_email/
D__init__.py17 def openfile(filename, *args, **kws): argument
19 return open(path, *args, **kws)
/external/tensorflow/tensorflow/python/autograph/pyct/
Dtemplates_test.py235 node = templates.replace(template, kws=source.keywords)[0]
240 templates.replace(template, kws=[])
241 templates.replace(template, kws=1)
/external/scapy/scapy/tools/
DUTscapy.py124 def add_keywords(self, kws): argument
125 if isinstance(kws, six.string_types):
126 kws = [kws]
127 for kwd in kws:
/external/python/cpython2/Lib/test/
Dtest_datetime.py1132 def __new__(cls, *args, **kws): argument
1133 temp = kws.copy()
1705 def __new__(cls, *args, **kws): argument
1706 temp = kws.copy()
2006 def __new__(cls, *args, **kws): argument
2007 temp = kws.copy()
2421 def __new__(cls, *args, **kws): argument
2422 temp = kws.copy()
3029 def __new__(cls, *args, **kws): argument
3030 temp = kws.copy()
/external/python/cpython2/Modules/
Dgcmodule.c1100 gc_collect(PyObject *self, PyObject *args, PyObject *kws) in gc_collect() argument
1106 if (!PyArg_ParseTupleAndKeywords(args, kws, "|i", keywords, &genarg)) in gc_collect()
/external/python/cpython2/Doc/library/
Dstring.rst686 .. method:: substitute(mapping[, **kws])
691 keywords are the placeholders. When both *mapping* and *kws* are given
692 and there are duplicates, the placeholders from *kws* take precedence.
695 .. method:: safe_substitute(mapping[, **kws])
698 *mapping* and *kws*, instead of raising a :exc:`KeyError` exception, the
/external/tensorflow/tensorflow/python/ops/
Dvariables.py237 previous_getter = lambda **kws: default_variable_creator_v2(None, **kws) argument
/external/python/cpython3/Lib/unittest/test/
Dtest_loader.py11 def wrapper(*args, **kws): argument
15 return func(*args, **kws)
/external/llvm-project/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/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/cpython3/Lib/test/
Ddatetimetester.py1711 def __new__(cls, *args, **kws): argument
1712 temp = kws.copy()
2787 def __new__(cls, *args, **kws): argument
2788 temp = kws.copy()
3433 def __new__(cls, *args, **kws): argument
3434 temp = kws.copy()
4010 def __new__(cls, *args, **kws): argument
4011 temp = kws.copy()
4706 def __new__(cls, *args, **kws): argument
4707 temp = kws.copy()
/external/python/cpython2/Doc/c-api/
Dveryhigh.rst247 …ject *globals, PyObject *locals, PyObject **args, int argcount, PyObject **kws, int kwcount, PyObj…
/external/python/cpython3/Python/
Dceval.c4371 PyObject *const *kws, int kwcount, in PyEval_EvalCodeEx() argument
4377 kws, kws != NULL ? kws + 1 : NULL, in PyEval_EvalCodeEx()
/external/python/cpython2/Python/
Dceval.c3368 PyObject **args, int argcount, PyObject **kws, int kwcount, in PyEval_EvalCodeEx() argument
3438 PyObject *keyword = kws[2*i]; in PyEval_EvalCodeEx()
3439 PyObject *value = kws[2*i + 1]; in PyEval_EvalCodeEx()
/external/python/cpython3/Doc/c-api/
Dveryhigh.rst325 …s, PyObject *locals, PyObject *const *args, int argcount, PyObject *const *kws, int kwcount, PyObj…
/external/python/cpython3/Doc/library/
Dsys.rst208 its ``*args`` and ``**kws`` straight through. Whatever
219 passing in ``*args`` and ``**kws``, and whatever ``function()`` returns,
Dfunctions.rst118 .. function:: breakpoint(*args, **kws)
121 it calls :func:`sys.breakpointhook`, passing ``args`` and ``kws`` straight
/external/python/cpython3/Doc/data/
Drefcounts.dat814 PyEval_EvalCodeEx:PyObject*const*:kws::
/external/cldr/tools/java/org/unicode/cldr/util/data/languages/
DentityToCode.tsv873 http://www.wikidata.org/entity/Q3200846 kws

12