mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-23 05:35:13 +00:00
Add missing handle_type_name<slice>
specialization (discovered only through global testing).
This commit is contained in:
parent
7c8991a0a0
commit
63a48815fc
@ -952,6 +952,10 @@ struct handle_type_name<sequence> {
|
||||
static constexpr auto name = const_name("Sequence");
|
||||
};
|
||||
template <>
|
||||
struct handle_type_name<slice> {
|
||||
static constexpr auto name = const_name("slice");
|
||||
};
|
||||
template <>
|
||||
struct handle_type_name<args> {
|
||||
static constexpr auto name = const_name("*args");
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user