fix: drop duplicate translate_exception declaration Assisted-by: ClaudeCode:claude-fable-5
diff --git a/include/pybind11/detail/internals.h b/include/pybind11/detail/internals.h index b304274..3d48c5f 100644 --- a/include/pybind11/detail/internals.h +++ b/include/pybind11/detail/internals.h
@@ -527,7 +527,7 @@ bool raise_err(PyObject *exc_type, const char *msg); -void translate_exception(std::exception_ptr p); +// translate_exception is forward-declared near the top of this header #if !defined(__GLIBCXX__) void translate_local_exception(std::exception_ptr p);