| 490 | } |
| 491 | |
| 492 | inline void append_self_arg_if_needed(function_record *r) { |
| 493 | if (r->is_method && r->args.empty()) { |
| 494 | r->args.emplace_back("self", nullptr, handle(), /*convert=*/true, /*none=*/false); |
| 495 | } |
| 496 | } |
| 497 | |
| 498 | /// Process a keyword argument attribute (*without* a default value) |
| 499 | template <> |