Searched refs:custom_msg (Results 1 – 4 of 4) sorted by relevance
/external/python/cpython3/Python/ |
D | getargs.c | 1603 const char *fname, *msg, *custom_msg; in vgetargskeywords() local 1627 custom_msg = NULL; in vgetargskeywords() 1630 custom_msg = strchr(format,';'); in vgetargskeywords() 1631 if (custom_msg) in vgetargskeywords() 1632 custom_msg++; in vgetargskeywords() 1753 seterror(i+1, msg, levels, fname, custom_msg); in vgetargskeywords() 1884 parser->custom_msg = NULL; in parser_init() 1887 parser->custom_msg = strchr(parser->format,';'); in parser_init() 1888 if (parser->custom_msg) in parser_init() 1889 parser->custom_msg++; in parser_init() [all …]
|
/external/python/cpython2/Python/ |
D | getargs.c | 1570 const char *fname, *msg, *custom_msg, *keyword; in vgetargskeywords() local 1585 custom_msg = NULL; in vgetargskeywords() 1588 custom_msg = strchr(format,';'); in vgetargskeywords() 1589 if (custom_msg) in vgetargskeywords() 1590 custom_msg++; in vgetargskeywords() 1647 seterror(i+1, msg, levels, fname, custom_msg); in vgetargskeywords()
|
/external/python/cpython3/Include/ |
D | modsupport.h | 86 const char *custom_msg; member
|
/external/python/cpython3/Lib/test/ |
D | test_grammar.py | 717 custom_msg = "call to '{}'".format(keyword) 721 with self.assertRaisesRegex(SyntaxError, custom_msg):
|