From e98fb5a10ee08fd5585836319ff4865f50f67891 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 26 Jul 2024 14:41:46 +0000 Subject: [PATCH] style: pre-commit fixes --- include/pybind11/typing.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/include/pybind11/typing.h b/include/pybind11/typing.h index b2dab0e35..3f2854322 100644 --- a/include/pybind11/typing.h +++ b/include/pybind11/typing.h @@ -136,9 +136,8 @@ class TypeVarObject : public object { using object::object; TypeVarObject(const char *name) { attr("__name__") = name; - attr("__bound__") = object(); - attr("__bound__").attr("__name__") - = pybind11::detail::make_caster::name; + attr("__bound__") = object(); + attr("__bound__").attr("__name__") = pybind11::detail::make_caster::name; attr("__constraints__") = pybind11::make_tuple(); } // TypeVarObject(const char *name, py::typing::Tuple tuple){