Searched refs:kws (Results 1 - 8 of 8) sorted by relevance
/third_party/python/Lib/email/ |
H A D | __init__.py | 33 def message_from_string(s, *args, **kws): 39 return Parser(*args, **kws).parsestr(s) 41 def message_from_bytes(s, *args, **kws): 47 return BytesParser(*args, **kws).parsebytes(s) 49 def message_from_file(fp, *args, **kws): 55 return Parser(*args, **kws).parse(fp) 57 def message_from_binary_file(fp, *args, **kws): 63 return BytesParser(*args, **kws).parse(fp)
|
/third_party/python/Lib/ |
H A D | string.py | 104 def substitute(self, mapping=_sentinel_dict, /, **kws): 106 mapping = kws 107 elif kws: 108 mapping = _ChainMap(kws, mapping) 123 def safe_substitute(self, mapping=_sentinel_dict, /, **kws): 125 mapping = kws 126 elif kws: 127 mapping = _ChainMap(kws, mapping)
|
/third_party/python/Lib/unittest/ |
H A D | loader.py | 97 # use_load_tests deprecation via *args and **kws. See issue 16662. 98 def loadTestsFromModule(self, module, *args, pattern=None, **kws): 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/ |
H A D | __init__.py | 17 def openfile(filename, *args, **kws): 19 return open(path, *args, **kws)
|
/third_party/python/Objects/ |
H A D | moduleobject.c | 100 new_module(PyTypeObject *mt, PyObject *args, PyObject *kws) in new_module() argument
|
/third_party/python/Lib/test/ |
H A D | datetimetester.py | 1723 def __new__(cls, *args, **kws): 1724 temp = kws.copy() 2890 def __new__(cls, *args, **kws): 2891 temp = kws.copy() 3668 def __new__(cls, *args, **kws): 3669 temp = kws.copy() 4315 def __new__(cls, *args, **kws): 4316 temp = kws.copy() 5011 def __new__(cls, *args, **kws): 5012 temp = kws [all...] |
/third_party/python/Lib/unittest/test/ |
H A D | test_loader.py | 11 def wrapper(*args, **kws): 15 return func(*args, **kws)
|
/third_party/python/Python/ |
H A D | ceval.c | 6452 PyObject *const *kws, int kwcount, 6490 Py_INCREF(kws[2*i]); 6491 PyTuple_SET_ITEM(kwnames, i, kws[2*i]); 6492 newargs[argcount+i] = kws[2*i+1]; 6450 PyEval_EvalCodeEx(PyObject *_co, PyObject *globals, PyObject *locals, PyObject *const *args, int argcount, PyObject *const *kws, int kwcount, PyObject *const *defs, int defcount, PyObject *kwdefs, PyObject *closure) global() argument
|
Completed in 24 milliseconds