From 63a48815fc7225022ff7314dc3861404a76d5fce Mon Sep 17 00:00:00 2001 From: "Ralf W. Grosse-Kunstleve" Date: Sat, 21 Oct 2023 23:55:33 -0700 Subject: [PATCH] Add missing `handle_type_name` specialization (discovered only through global testing). --- include/pybind11/cast.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/pybind11/cast.h b/include/pybind11/cast.h index b04083e2f..e5bc4f266 100644 --- a/include/pybind11/cast.h +++ b/include/pybind11/cast.h @@ -952,6 +952,10 @@ struct handle_type_name { static constexpr auto name = const_name("Sequence"); }; template <> +struct handle_type_name { + static constexpr auto name = const_name("slice"); +}; +template <> struct handle_type_name { static constexpr auto name = const_name("*args"); };