mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-13 09:03:54 +00:00
style: pre-commit fixes
This commit is contained in:
parent
9e7ae0d99c
commit
e98fb5a10e
@ -137,8 +137,7 @@ class TypeVarObject : public object {
|
|||||||
TypeVarObject(const char *name) {
|
TypeVarObject(const char *name) {
|
||||||
attr("__name__") = name;
|
attr("__name__") = name;
|
||||||
attr("__bound__") = object();
|
attr("__bound__") = object();
|
||||||
attr("__bound__").attr("__name__")
|
attr("__bound__").attr("__name__") = pybind11::detail::make_caster<T>::name;
|
||||||
= pybind11::detail::make_caster<T>::name;
|
|
||||||
attr("__constraints__") = pybind11::make_tuple();
|
attr("__constraints__") = pybind11::make_tuple();
|
||||||
}
|
}
|
||||||
// TypeVarObject(const char *name, py::typing::Tuple<pybind11::type, pybind11::ellipse> tuple){
|
// TypeVarObject(const char *name, py::typing::Tuple<pybind11::type, pybind11::ellipse> tuple){
|
||||||
|
Loading…
Reference in New Issue
Block a user