Skip to content

Commit

Permalink
use detail::
Browse files Browse the repository at this point in the history
  • Loading branch information
InvincibleRMC committed Jul 26, 2024
1 parent 960d4bc commit 6f07805
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/pybind11/typing.h
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ class TypeVarObject : public object {
using object::object;
TypeVarObject(const char *name) {
attr("__name__") = name;
attr("__bound__") = NameWrapper(make_caster<T>::name);
attr("__bound__") = NameWrapper(pybind11::detail::make_caster<T>::name);
attr("__constraints__") = pybind11::make_tuple();
}
// TypeVarObject(const char *name, py::typing::Tuple<pybind11::type, pybind11::ellipse> tuple){
Expand Down

0 comments on commit 6f07805

Please sign in to comment.