diff --git a/include/pybind11/cast.h b/include/pybind11/cast.h index 77eb61995..3c9b7c927 100644 --- a/include/pybind11/cast.h +++ b/include/pybind11/cast.h @@ -874,38 +874,6 @@ struct handle_type_name { static constexpr auto name = const_name(); }; template <> -struct handle_type_name { - static constexpr auto name = const_name("object"); -}; -template <> -struct handle_type_name { - static constexpr auto name = const_name("list"); -}; -template <> -struct handle_type_name { - static constexpr auto name = const_name("dict"); -}; -template <> -struct handle_type_name { - static constexpr auto name = const_name("set"); -}; -template <> -struct handle_type_name { - static constexpr auto name = const_name("frozenset"); -}; -template <> -struct handle_type_name { - static constexpr auto name = const_name("anyset"); -}; -template <> -struct handle_type_name { - static constexpr auto name = const_name("str"); -}; -template <> -struct handle_type_name { - static constexpr auto name = const_name("tuple"); -}; -template <> struct handle_type_name { static constexpr auto name = const_name("bool"); };