Skip to content

Commit

Permalink
add missing semi colon
Browse files Browse the repository at this point in the history
  • Loading branch information
InvincibleRMC committed Jul 26, 2024
1 parent 8214dad commit 9e7ae0d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/pybind11/typing.h
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,8 @@ class TypeVarObject : public object {
using object::object;
TypeVarObject(const char *name) {
attr("__name__") = name;
attr("__bound__") = object() attr("__bound__").attr("__name__")
attr("__bound__") = object();
attr("__bound__").attr("__name__")
= pybind11::detail::make_caster<T>::name;
attr("__constraints__") = pybind11::make_tuple();
}
Expand Down

0 comments on commit 9e7ae0d

Please sign in to comment.