Home
last modified time | relevance | path

Searched refs:custom_msg (Results 1 – 3 of 3) sorted by relevance

/third_party/python/Python/
Dgetargs.c1579 const char *fname, *msg, *custom_msg; in vgetargskeywords() local
1603 custom_msg = NULL; in vgetargskeywords()
1606 custom_msg = strchr(format,';'); in vgetargskeywords()
1607 if (custom_msg) in vgetargskeywords()
1608 custom_msg++; in vgetargskeywords()
1735 seterror(i+1, msg, levels, fname, custom_msg); in vgetargskeywords()
1887 parser->custom_msg = NULL; in parser_init()
1890 parser->custom_msg = strchr(parser->format,';'); in parser_init()
1891 if (parser->custom_msg) in parser_init()
1892 parser->custom_msg++; in parser_init()
[all …]
/third_party/python/Include/
Dmodsupport.h96 const char *custom_msg; member
/third_party/python/Lib/test/
Dtest_grammar.py877 custom_msg = "call to '{}'".format(keyword)
881 with self.assertRaisesRegex(SyntaxError, custom_msg):