mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-25 22:52:01 +00:00
add missing semi colon
This commit is contained in:
parent
8214dad571
commit
9e7ae0d99c
@ -136,7 +136,8 @@ class TypeVarObject : public object {
|
|||||||
using object::object;
|
using object::object;
|
||||||
TypeVarObject(const char *name) {
|
TypeVarObject(const char *name) {
|
||||||
attr("__name__") = name;
|
attr("__name__") = name;
|
||||||
attr("__bound__") = object() attr("__bound__").attr("__name__")
|
attr("__bound__") = object();
|
||||||
|
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();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user