We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
py::buffer
py::sequence
1 parent db412e6 commit d67afe4Copy full SHA for d67afe4
include/pybind11/cast.h
@@ -882,6 +882,10 @@ struct handle_type_name<bytes> {
882
static constexpr auto name = const_name(PYBIND11_BYTES_NAME);
883
};
884
template <>
885
+struct handle_type_name<buffer> {
886
+ static constexpr auto name = const_name("Buffer");
887
+};
888
+template <>
889
struct handle_type_name<int_> {
890
static constexpr auto name = const_name("int");
891
@@ -906,6 +910,10 @@ struct handle_type_name<none> {
906
910
static constexpr auto name = const_name("None");
907
911
908
912
913
+struct handle_type_name<sequence> {
914
+ static constexpr auto name = const_name("Sequence");
915
916
909
917
struct handle_type_name<args> {
918
static constexpr auto name = const_name("*args");
919
0 commit comments