/third_party/python/Lib/test/ |
D | test_keyword.py | 18 oldlist = keyword.kwlist 20 keyword.kwlist = ['its', 'all', 'eggs', 'beans', 'and', 'a', 'slice'] 24 for key in keyword.kwlist: 29 self.assertIn("async", keyword.kwlist) 30 self.assertIn("await", keyword.kwlist) 33 self.assertListEqual(sorted(keyword.kwlist), keyword.kwlist)
|
/third_party/python/Tools/c-analyzer/cpython/ |
D | ignored.tsv | 101 Modules/_testbuffer.c ndarray_init kwlist - 102 Modules/_testbuffer.c ndarray_push kwlist - 103 Modules/_testbuffer.c staticarray_init kwlist - 171 Modules/_testcapimodule.c make_exception_with_doc kwlist - 172 Modules/_testcapimodule.c test_empty_argparse kwlist - 296 Modules/_decimal/_decimal.c context_init kwlist - 297 Modules/_decimal/_decimal.c ctxmanager_new kwlist - 298 Modules/_decimal/_decimal.c ctx_mpd_qpow kwlist - 299 Modules/_decimal/_decimal.c dec_mpd_class kwlist - 300 Modules/_decimal/_decimal.c dec_mpd_compare_total kwlist - [all …]
|
/third_party/python/Modules/ |
D | _xxsubinterpretersmodule.c | 1479 static char *kwlist[] = {"id", "send", "recv", "force", "_resolve", NULL}; in channelid_new() local 1486 "O&|$pppp:ChannelID.__new__", kwlist, in channelid_new() 2012 static char *kwlist[] = {"isolated", NULL}; in interp_create() local 2014 if (!PyArg_ParseTupleAndKeywords(args, kwds, "|$i:create", kwlist, in interp_create() 2053 static char *kwlist[] = {"id", NULL}; in interp_destroy() local 2057 "O:destroy", kwlist, &id)) { in interp_destroy() 2175 static char *kwlist[] = {"id", "script", "shared", NULL}; in interp_run_string() local 2179 "OU|O:run_string", kwlist, in interp_run_string() 2220 static char *kwlist[] = {"obj", NULL}; in object_is_shareable() local 2223 "O:is_shareable", kwlist, &obj)) { in object_is_shareable() [all …]
|
D | nismodule.c | 195 static char *kwlist[] = {"key", "map", "domain", NULL}; in nis_match() local 198 "Us|s:match", kwlist, in nis_match() 242 static char *kwlist[] = {"map", "domain", NULL}; in nis_cat() local 245 kwlist, &map, &domain)) { in nis_cat() 436 static char *kwlist[] = {"domain", NULL}; in nis_maps() local 439 "|s:maps", kwlist, &domain)) { in nis_maps()
|
D | faulthandler.c | 259 static char *kwlist[] = {"file", "all_threads", NULL}; in faulthandler_dump_traceback_py() local 267 "|Oi:dump_traceback", kwlist, in faulthandler_dump_traceback_py() 524 static char *kwlist[] = {"file", "all_threads", NULL}; in faulthandler_py_enable() local 531 "|Oi:enable", kwlist, &file, &all_threads)) in faulthandler_py_enable() 687 static char *kwlist[] = {"timeout", "repeat", "file", "exit", NULL}; in faulthandler_dump_traceback_later() local 699 "O|iOi:dump_traceback_later", kwlist, in faulthandler_dump_traceback_later() 889 static char *kwlist[] = {"signum", "file", "all_threads", "chain", NULL}; in faulthandler_register_py() local 901 "i|Oii:register", kwlist, in faulthandler_register_py()
|
D | _lsprof.c | 666 static char *kwlist[] = {"subcalls", "builtins", 0}; in profiler_enable() local 668 kwlist, &subcalls, &builtins)) in profiler_enable() 766 static char *kwlist[] = {"timer", "timeunit", in profiler_init() local 769 if (!PyArg_ParseTupleAndKeywords(args, kw, "|Odii:Profiler", kwlist, in profiler_init()
|
D | _json.c | 1144 static char *kwlist[] = {"string", "idx", NULL}; in scanner_call() local 1145 if (!PyArg_ParseTupleAndKeywords(args, kwds, "On:scan_once", kwlist, &pystr, &idx)) in scanner_call() 1169 static char *kwlist[] = {"context", NULL}; in scanner_new() local 1171 if (!PyArg_ParseTupleAndKeywords(args, kwds, "O:make_scanner", kwlist, &ctx)) in scanner_new() 1238 …static char *kwlist[] = {"markers", "default", "encoder", "indent", "key_separator", "item_separat… in encoder_new() local 1245 if (!PyArg_ParseTupleAndKeywords(args, kwds, "OOOOUUppp:make_encoder", kwlist, in encoder_new() 1293 static char *kwlist[] = {"obj", "_current_indent_level", NULL}; in encoder_call() local 1297 if (!PyArg_ParseTupleAndKeywords(args, kwds, "On:_iterencode", kwlist, in encoder_call()
|
D | _zoneinfo.c | 263 static char *kwlist[] = {"key", NULL}; in zoneinfo_new() local 264 if (PyArg_ParseTupleAndKeywords(args, kw, "O", kwlist, &key) == 0) { in zoneinfo_new() 345 static char *kwlist[] = {"", "key", NULL}; in zoneinfo_from_file() local 346 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O|O", kwlist, &file_obj, in zoneinfo_from_file() 381 static char *kwlist[] = {"key", NULL}; in zoneinfo_no_cache() local 383 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O", kwlist, &key)) { in zoneinfo_no_cache() 399 static char *kwlist[] = {"only_keys", NULL}; in zoneinfo_clear_cache() local 401 if (!(PyArg_ParseTupleAndKeywords(args, kwargs, "|$O", kwlist, in zoneinfo_clear_cache()
|
D | signalmodule.c | 727 static char *kwlist[] = { local 739 if (!PyArg_ParseTupleAndKeywords(args, kwds, "O|$p:set_wakeup_fd", kwlist, 749 if (!PyArg_ParseTupleAndKeywords(args, kwds, "i|$p:set_wakeup_fd", kwlist,
|
/third_party/python/Python/ |
D | getargs.c | 1378 char **kwlist, ...) in PyArg_ParseTupleAndKeywords() argument 1386 kwlist == NULL) in PyArg_ParseTupleAndKeywords() 1392 va_start(va, kwlist); in PyArg_ParseTupleAndKeywords() 1393 retval = vgetargskeywords(args, keywords, format, kwlist, &va, 0); in PyArg_ParseTupleAndKeywords() 1402 char **kwlist, ...) in _PyArg_ParseTupleAndKeywords_SizeT() argument 1410 kwlist == NULL) in _PyArg_ParseTupleAndKeywords_SizeT() 1416 va_start(va, kwlist); in _PyArg_ParseTupleAndKeywords_SizeT() 1418 kwlist, &va, FLAG_SIZE_T); in _PyArg_ParseTupleAndKeywords_SizeT() 1428 char **kwlist, va_list va) in PyArg_VaParseTupleAndKeywords() argument 1436 kwlist == NULL) in PyArg_VaParseTupleAndKeywords() [all …]
|
D | bltinmodule.c | 264 static char *kwlist[] = {"name", "globals", "locals", "fromlist", in builtin___import__() local 270 kwlist, &name, &globals, &locals, &fromlist, &level)) in builtin___import__() 1707 static char *kwlist[] = {"key", "default", NULL}; in min_max() local 1727 kwlist, &keyfunc, &defaultval); in min_max() 2659 static char *kwlist[] = {"strict", NULL}; in zip_new() local 2661 empty, kwds, "|$p:zip", kwlist, &strict); in zip_new()
|
/third_party/python/Lib/ |
D | keyword.py | 18 kwlist = [ variable 62 iskeyword = frozenset(kwlist).__contains__
|
D | rlcompleter.py | 120 for word in keyword.kwlist:
|
/third_party/skia/third_party/externals/brotli/python/ |
D | _brotli.cc | 178 static const char *kwlist[] = {"mode", "quality", "lgwin", "lgblock", NULL}; in brotli_Compressor_init() local 181 const_cast<char **>(kwlist), in brotli_Compressor_init() 460 static const char *kwlist[] = {NULL}; in brotli_Decompressor_init() local 463 const_cast<char **>(kwlist)); in brotli_Decompressor_init() 644 static const char *kwlist[] = {"string", NULL}; in brotli_decompress() local 648 const_cast<char **>(kwlist), &input); in brotli_decompress() 651 const_cast<char **>(kwlist), &input); in brotli_decompress()
|
/third_party/python/Lib/idlelib/ |
D | colorizer.py | 18 kw = r"\b" + any("KEYWORD", keyword.kwlist) + r"\b" 25 r"\b(?:" + r"|".join(keyword.kwlist) + r")\b", # a keyword 41 r"\b(?:" + r"|".join(keyword.kwlist) + r")\b", # a keyword 47 name not in keyword.kwlist]
|
/third_party/python/Doc/includes/ |
D | custom2.c | 44 static char *kwlist[] = {"first", "last", "number", NULL}; in Custom_init() local 47 if (!PyArg_ParseTupleAndKeywords(args, kwds, "|OOi", kwlist, in Custom_init()
|
D | custom3.c | 44 static char *kwlist[] = {"first", "last", "number", NULL}; in Custom_init() local 47 if (!PyArg_ParseTupleAndKeywords(args, kwds, "|UUi", kwlist, in Custom_init()
|
D | custom4.c | 60 static char *kwlist[] = {"first", "last", "number", NULL}; in Custom_init() local 63 if (!PyArg_ParseTupleAndKeywords(args, kwds, "|UUi", kwlist, in Custom_init()
|
/third_party/python/Modules/_decimal/ |
D | _decimal.c | 1243 static char *kwlist[] = { in context_init() local 1261 "|OOOOOOOO", kwlist, in context_init() 1724 static char *kwlist[] = {"ctx", NULL}; in ctxmanager_new() local 1730 if (!PyArg_ParseTupleAndKeywords(args, kwds, "|O", kwlist, &local)) { in ctxmanager_new() 2788 static char *kwlist[] = {"value", "context", NULL}; in dec_new() local 2792 if (!PyArg_ParseTupleAndKeywords(args, kwds, "|OO", kwlist, in dec_new() 3524 static char *kwlist[] = {"rounding", "context", NULL}; in PyDec_ToIntegralValue() local 3531 if (!PyArg_ParseTupleAndKeywords(args, kwds, "|OO", kwlist, in PyDec_ToIntegralValue() 3565 static char *kwlist[] = {"rounding", "context", NULL}; in PyDec_ToIntegralExact() local 3572 if (!PyArg_ParseTupleAndKeywords(args, kwds, "|OO", kwlist, in PyDec_ToIntegralExact() [all …]
|
/third_party/python/Objects/ |
D | interpreteridobject.c | 76 static char *kwlist[] = {"id", "force", NULL}; in interpid_new() local 80 "O&|$p:InterpreterID.__init__", kwlist, in interpid_new()
|
/third_party/protobuf/python/google/protobuf/pyext/ |
D | message_factory.cc | 80 static char* kwlist[] = {"pool", 0}; in New() local 82 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|O", kwlist, &pool)) { in New()
|
D | map_container.cc | 460 static char* kwlist[] = {"key", "default", nullptr}; in ScalarMapGet() local 463 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O|O", kwlist, &key, in ScalarMapGet() 755 static char* kwlist[] = {"key", "default", nullptr}; in MessageMapGet() local 758 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O|O", kwlist, &key, in MessageMapGet()
|
D | descriptor_pool.cc | 179 static char* kwlist[] = {"descriptor_db", 0}; in New() local 181 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|O", kwlist, &py_database)) { in New()
|
/third_party/python/Modules/_sqlite/ |
D | module.c | 66 static char *kwlist[] = { in module_connect() local 80 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O|diOiOip", kwlist, in module_connect()
|
/third_party/python/Doc/library/ |
D | keyword.rst | 20 .. data:: kwlist
|