style: pre-commit fixes

This commit is contained in:
pre-commit-ci[bot] 2024-12-06 02:06:52 +00:00
parent 4a443a7adf
commit 008c370ba4

View File

@ -1329,7 +1329,6 @@ object object_or_cast(T &&o) {
return pybind11::cast(std::forward<T>(o));
}
#if defined(PYBIND11_CPP17)
// Declared in pytypes.h:
// Written here so make_caster<T> can be used