| 2376 | "arguments may be passed via py::arg() to a python function call. "); |
| 2377 | } |
| 2378 | [[noreturn]] static void multiple_values_error() { |
| 2379 | throw type_error( |
| 2380 | "Got multiple values for keyword argument " |
| 2381 | "(#define PYBIND11_DETAILED_ERROR_MESSAGES or compile in debug mode for details)"); |
| 2382 | } |
| 2383 | |
| 2384 | [[noreturn]] static void multiple_values_error(const std::string &name) { |
| 2385 | throw type_error("Got multiple values for keyword argument '" + name + "'"); |