Searched refs:msg_prefix (Results 1 – 3 of 3) sorted by relevance
78 const char *msg_prefix = ""; variable108 prefix_len = msg_prefix[0] ? strlen(msg_prefix) + 2 : 0; in verror_msg_helper()125 p = stpcpy(msg, msg_prefix); in verror_msg_helper()295 msg_prefix = progname; in main()
2941 PyObject* msg_prefix; in _PyErr_TrySetFromCause() local3022 msg_prefix = PyUnicode_FromFormatV(format, vargs); in _PyErr_TrySetFromCause()3024 if (msg_prefix == NULL) { in _PyErr_TrySetFromCause()3031 msg_prefix, Py_TYPE(val)->tp_name, val); in _PyErr_TrySetFromCause()3033 Py_DECREF(msg_prefix); in _PyErr_TrySetFromCause()
2622 msg_prefix = "Invalid first argument to `register()`: "2634 self.assertTrue(str(exc.exception).startswith(msg_prefix + "42"))2640 self.assertTrue(str(exc.exception).startswith(msg_prefix +