Searched refs:custom_msg (Results 1 – 4 of 4) sorted by relevance
/external/python/cpython3/Python/ |
D | getargs.c | 1654 const char *fname, *msg, *custom_msg; in vgetargskeywords() local 1678 custom_msg = NULL; in vgetargskeywords() 1681 custom_msg = strchr(format,';'); in vgetargskeywords() 1682 if (custom_msg) in vgetargskeywords() 1683 custom_msg++; in vgetargskeywords() 1810 seterror(i+1, msg, levels, fname, custom_msg); in vgetargskeywords() 1962 parser->custom_msg = NULL; in parser_init() 1965 parser->custom_msg = strchr(parser->format,';'); in parser_init() 1966 if (parser->custom_msg) in parser_init() 1967 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 | 96 const char *custom_msg; member
|
/external/python/cpython3/Lib/test/ |
D | test_grammar.py | 784 custom_msg = "call to '{}'".format(keyword) 788 with self.assertRaisesRegex(SyntaxError, custom_msg):
|