Home
last modified time | relevance | path

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

/third_party/python/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)
/third_party/python/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)
/third_party/gettext/gettext-tools/libgrep/
Dkwset.c127 kwsincr (kwset_t kws, char const *text, size_t len) in kwsincr() argument
132 kwset = (struct kwset *) kws; in kwsincr()
517 bmexec (kwset_t kws, char const *text, size_t size) in bmexec() argument
522 kwset = (struct kwset const *) kws; in bmexec()
623 cwexec (kwset_t kws, char const *text, size_t len, struct kwsmatch *kwsmatch) in cwexec() argument
628 kwset = (struct kwset *) kws; in cwexec()
811 kwsexec (kwset_t kws, char const *text, size_t size, in kwsexec() argument
814 struct kwset const *kwset = (struct kwset *) kws; in kwsexec()
817 size_t ret = bmexec (kws, text, size); in kwsexec()
827 return cwexec (kws, text, size, kwsmatch); in kwsexec()
/third_party/python/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]
/third_party/python/Lib/test/test_email/
D__init__.py17 def openfile(filename, *args, **kws): argument
19 return open(path, *args, **kws)
/third_party/gettext/gettext-tools/doc/
DMakefile.am184 gettext.kw gettext.kws \
/third_party/python/Lib/unittest/test/
Dtest_loader.py11 def wrapper(*args, **kws): argument
15 return func(*args, **kws)
/third_party/python/Lib/test/
Ddatetimetester.py1711 def __new__(cls, *args, **kws): argument
1712 temp = kws.copy()
2788 def __new__(cls, *args, **kws): argument
2789 temp = kws.copy()
3434 def __new__(cls, *args, **kws): argument
3435 temp = kws.copy()
4011 def __new__(cls, *args, **kws): argument
4012 temp = kws.copy()
4707 def __new__(cls, *args, **kws): argument
4708 temp = kws.copy()
/third_party/python/Python/
Dceval.c5088 PyObject *const *kws, int kwcount, in PyEval_EvalCodeEx() argument
5125 Py_INCREF(kws[2*i]); in PyEval_EvalCodeEx()
5126 PyTuple_SET_ITEM(kwnames, i, kws[2*i]); in PyEval_EvalCodeEx()
5127 newargs[argcount+i] = kws[2*i+1]; in PyEval_EvalCodeEx()
5132 Py_INCREF(kws[2*i]); in PyEval_EvalCodeEx()
5133 PyTuple_SET_ITEM(kwnames, i, kws[2*i]); in PyEval_EvalCodeEx()
/third_party/python/Doc/c-api/
Dveryhigh.rst278 …s, PyObject *locals, PyObject *const *args, int argcount, PyObject *const *kws, int kwcount, PyObj…
/third_party/gettext/
D.gitignore784 /gettext-tools/doc/gettext.kws
/third_party/python/Doc/library/
Dsys.rst224 its ``*args`` and ``**kws`` straight through. Whatever
235 passing in ``*args`` and ``**kws``, and whatever ``function()`` returns,
Dfunctions.rst156 .. function:: breakpoint(*args, **kws)
159 it calls :func:`sys.breakpointhook`, passing ``args`` and ``kws`` straight
/third_party/python/Doc/data/
Drefcounts.dat814 PyEval_EvalCodeEx:PyObject*const*:kws::