mirror of https://github.com/pybind/pybind11.git
skip typevar for now
This commit is contained in:
parent
479dffd98e
commit
d1dc670142
|
@ -924,13 +924,13 @@ TEST_SUBMODULE(pytypes, m) {
|
||||||
m.attr("defined_PYBIND11_TYPING_H_HAS_STRING_LITERAL") = false;
|
m.attr("defined_PYBIND11_TYPING_H_HAS_STRING_LITERAL") = false;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
struct TypeVarObject {};
|
// struct TypeVarObject {};
|
||||||
py::class_<TypeVarObject>(m, "TypeVarObject").type_params()
|
// py::class_<TypeVarObject>(m, "TypeVarObject").type_params()
|
||||||
= py::make_tuple(py::typing::TypeVarObject<>("T"));
|
// = py::make_tuple(py::typing::TypeVarObject<>("T"));
|
||||||
|
|
||||||
struct TypeVarObjectBound {};
|
// struct TypeVarObjectBound {};
|
||||||
py::class_<TypeVarObjectBound>(m, "TypeVarObjectBound").type_params()
|
// py::class_<TypeVarObjectBound>(m, "TypeVarObjectBound").type_params()
|
||||||
= py::make_tuple(py::typing::TypeVarObject<int>("T"));
|
// = py::make_tuple(py::typing::TypeVarObject<int>("T"));
|
||||||
|
|
||||||
struct ParamSpec {};
|
struct ParamSpec {};
|
||||||
py::class_<ParamSpec>(m, "ParamSpec").type_params()
|
py::class_<ParamSpec>(m, "ParamSpec").type_params()
|
||||||
|
|
Loading…
Reference in New Issue